FSTmp::FSTmp(clPtr<FS> _baseFS) : FS(TMP) { // to prevent build FSTmp on top of another FSTmp if (_baseFS->Type() == FS::TMP) baseFS = ((FSTmp*)_baseFS.Ptr())->baseFS; else baseFS = _baseFS; }