summaryrefslogtreecommitdiffstats
path: root/src/cppc4group.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppc4group.hpp')
-rw-r--r--src/cppc4group.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp
index e69f9c2..420893c 100644
--- a/src/cppc4group.hpp
+++ b/src/cppc4group.hpp
@@ -126,7 +126,7 @@ public:
public:
// the constructor will automatically construct an internal CC4Group, so no new-equivalent method is needed
// may throw std::bad_alloc if the allocation and construction of the internal CC4Group object fails
- CppC4Group();
+ CppC4Group(const bool lazy = true);
// the move constructor is needed to move the returned group out of the optional from openAsChild
CppC4Group(CppC4Group&& other);
@@ -161,8 +161,8 @@ public:
bool setOfficial(const bool official, const std::string& path = "", const bool recursive = false);
bool setExecutable(const bool executable, const std::string& path);
- std::optional<EntryInfo> getEntryInfo(const std::string& path = "", bool lazy = false);
- std::optional<std::vector<EntryInfo>> getEntryInfos(const std::string& path = "", bool lazy = false);
+ std::optional<EntryInfo> getEntryInfo(const std::string& path = "", const bool lazy = false);
+ std::optional<std::vector<EntryInfo>> getEntryInfos(const std::string& path = "", const bool lazy = false);
bool deleteEntry(const std::string& path, const bool recursive = false);
bool renameEntry(const std::string& oldPath, const std::string& newPath);