summaryrefslogtreecommitdiffhomepage
path: root/Private/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Private/Source')
-rw-r--r--Private/Source/NewFS+FileManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Private/Source/NewFS+FileManager.cxx b/Private/Source/NewFS+FileManager.cxx
index 2b5abf27..171f0c6f 100644
--- a/Private/Source/NewFS+FileManager.cxx
+++ b/Private/Source/NewFS+FileManager.cxx
@@ -20,7 +20,7 @@ bool NewFilesystemManager::Remove(const char* node_name) {
if (node_name == nullptr || *node_name == 0) return false;
if (auto catalog = fImpl->GetCatalog(node_name); catalog)
- return fImpl->RemoveCatalog(*catalog);
+ return fImpl->RemoveCatalog(catalog);
return false;
}