aboutsummaryrefslogtreecommitdiffstats
path: root/ldid.hpp
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-10-10 14:03:39 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-10-10 14:03:39 -0700
commit2443500c8f002df2641e55c26a6a7882906a42da (patch)
tree1ca6f525b49ba9dad6b7ea0cf95149238cb89e75 /ldid.hpp
parent2dcf3fafab0837918911f68460d0d43447d30b94 (diff)
downloadldid-2443500c8f002df2641e55c26a6a7882906a42da.tar.gz
ldid-2443500c8f002df2641e55c26a6a7882906a42da.tar.zst
ldid-2443500c8f002df2641e55c26a6a7882906a42da.zip
SubFolder should take a reference (not a pointer).
Diffstat (limited to 'ldid.hpp')
-rw-r--r--ldid.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldid.hpp b/ldid.hpp
index b4d2ae5..4320bef 100644
--- a/ldid.hpp
+++ b/ldid.hpp
@@ -76,11 +76,11 @@ class SubFolder :
public Folder
{
private:
- Folder *parent_;
+ Folder &parent_;
std::string path_;
public:
- SubFolder(Folder *parent, const std::string &path);
+ SubFolder(Folder &parent, const std::string &path);
virtual void Save(const std::string &path, const Functor<void (std::streambuf &)> &code);
virtual bool Open(const std::string &path, const Functor<void (std::streambuf &)> &code);