diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-04-20 01:56:57 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-04-20 02:33:20 +0200 |
| commit | 5871fbfcc6c0c5c67aaa61f363fd35523190b43a (patch) | |
| tree | fb59e0d66e6c7584a77e352c1d7d7ac257e2aac0 | |
| parent | 3a66d9568579d40042df372c993f1a97a2236d96 (diff) | |
| download | cc4group-5871fbfcc6c0c5c67aaa61f363fd35523190b43a.tar.gz cc4group-5871fbfcc6c0c5c67aaa61f363fd35523190b43a.zip | |
Make CppC4Group::create also return bool like cc4group.create
| -rw-r--r-- | src/cppc4group.cpp | 4 | ||||
| -rw-r--r-- | src/cppc4group.hpp | 2 |
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); |
