diff options
Diffstat (limited to 'src/cppc4group.hpp')
| -rw-r--r-- | src/cppc4group.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp index 2e75462..1367bc7 100644 --- a/src/cppc4group.hpp +++ b/src/cppc4group.hpp @@ -15,7 +15,7 @@ public: size_t size; Data(); - Data(const void* data, size_t size); + Data(const void* const data, const size_t size); }; struct EntryInfo { @@ -68,7 +68,7 @@ public: bool createDirectory(const std::string& path); - bool createFile(const std::string& path, void* data = nullptr, size_t size = 0); + bool createFile(const std::string& path); - bool setEntryData(const std::string& path, void* data = nullptr, size_t size = 0); + bool setEntryData(const std::string& path, const void* const data = nullptr, const size_t size = 0, const bool freeData = true); }; |
