summaryrefslogtreecommitdiffstats
path: root/src/cppc4group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppc4group.cpp')
-rw-r--r--src/cppc4group.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cppc4group.cpp b/src/cppc4group.cpp
index 4db6153..31dab62 100644
--- a/src/cppc4group.cpp
+++ b/src/cppc4group.cpp
@@ -486,4 +486,9 @@ std::optional<CppC4Group> CppC4Group::openAsChild(const std::string& path)
{
return {{std::make_unique<Private>(g)}};
}
-} \ No newline at end of file
+}
+
+bool CppC4Group::isChild()
+{
+ return cc4group.isChild(p->g);
+}