summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cppc4group.cpp4
-rw-r--r--src/cppc4group.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cppc4group.cpp b/src/cppc4group.cpp
index 5dc8799..8e2fe70 100644
--- a/src/cppc4group.cpp
+++ b/src/cppc4group.cpp
@@ -90,9 +90,9 @@ CppC4Group::~CppC4Group()
}
-void CppC4Group::create()
+bool CppC4Group::create()
{
- cc4group.create(p->g);
+ return cc4group.create(p->g);
}
bool CppC4Group::openExisting(const std::string& path)
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp
index 03cb868..f11387c 100644
--- a/src/cppc4group.hpp
+++ b/src/cppc4group.hpp
@@ -111,7 +111,7 @@ public:
// the destructor will automatically delete the internal CC4Group, so also no extra method needed
~CppC4Group();
- void create();
+ bool create();
bool openExisting(const std::string& path);
bool openFd(const int fd);
bool openFilePointer(FILE* file);