diff options
| -rw-r--r-- | src/cppc4group.cpp | 2 | ||||
| -rw-r--r-- | src/cppc4group.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cppc4group.cpp b/src/cppc4group.cpp index 35b589a..d2a2245 100644 --- a/src/cppc4group.cpp +++ b/src/cppc4group.cpp @@ -488,7 +488,7 @@ std::optional<CppC4Group> CppC4Group::openAsChild(const std::string& path) } } -bool CppC4Group::isChild() +bool CppC4Group::isChild() const { return cc4group.isChild(p->g); } diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp index 639fbf4..d80ffdf 100644 --- a/src/cppc4group.hpp +++ b/src/cppc4group.hpp @@ -193,7 +193,7 @@ public: // to get the child group out of the optional in case of success, construct a new CppC4Group with the move constructor: CppC4Group child{std::move(*optionalChild)}; std::optional<CppC4Group> openAsChild(const std::string& path); - bool isChild(); + bool isChild() const; std::string getName() const; std::string getFullName() const; |
