aboutsummaryrefslogtreecommitdiff
path: root/common/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/fs.h')
-rw-r--r--common/fs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/fs.h b/common/fs.h
index b5b88ba8cb..66e98444d6 100644
--- a/common/fs.h
+++ b/common/fs.h
@@ -58,9 +58,11 @@ class FSList : public Array<FSNode> {};
class FSNode : public ArchiveMember {
private:
SharedPtr<AbstractFSNode> _realNode;
- FSNode(AbstractFSNode *realNode);
public:
+ // WARNING: Use this constructor with care! FSNode takes the ownership of the pointer and will delete it at some point.
+ FSNode(AbstractFSNode *realNode);
+
/**
* Flag to tell listDir() which kind of files to list.
*/