diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2015-10-10 14:03:39 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2015-10-10 14:03:39 -0700 |
commit | 2443500c8f002df2641e55c26a6a7882906a42da (patch) | |
tree | 1ca6f525b49ba9dad6b7ea0cf95149238cb89e75 /ldid.hpp | |
parent | 2dcf3fafab0837918911f68460d0d43447d30b94 (diff) | |
download | ldid-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.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |