diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2015-10-10 14:40:36 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2015-10-10 14:40:36 -0700 |
commit | 4d453c35ba48a83618c19c613100bd899266327f (patch) | |
tree | 19fb73301301973156365592dcdeb0fdd216a380 /ldid.hpp | |
parent | 4d03333fd9a1e4bc0508e23054cb6b6442a87d68 (diff) | |
download | ldid-4d453c35ba48a83618c19c613100bd899266327f.tar.gz ldid-4d453c35ba48a83618c19c613100bd899266327f.tar.zst ldid-4d453c35ba48a83618c19c613100bd899266327f.zip |
Port to Apple's pathetic third-world toolchain :/.
Diffstat (limited to 'ldid.hpp')
-rw-r--r-- | ldid.hpp | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -91,8 +91,21 @@ class UnionFolder : public Folder { private: + class StringBuffer : + public std::stringbuf + { + public: + StringBuffer() { + } + + StringBuffer(const StringBuffer &rhs) : + std::stringbuf(rhs.str()) + { + } + }; + Folder &parent_; - std::map<std::string, std::stringbuf> files_; + std::map<std::string, StringBuffer> files_; public: UnionFolder(Folder &parent); |