diff options
Diffstat (limited to 'occ_errors.hpp')
-rw-r--r-- | occ_errors.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/occ_errors.hpp b/occ_errors.hpp index 070e72c..12ae925 100644 --- a/occ_errors.hpp +++ b/occ_errors.hpp @@ -32,7 +32,7 @@ class Error */ Error(EventPtr& event, const fs::path& file, - std::function<void()> callBack = nullptr) : + std::function<void(bool)> callBack = nullptr) : event(event), file(fs::path(DEV_PATH) / file), callBack(callBack) @@ -97,7 +97,7 @@ class Error const fs::path file; /** @brief Optional function to call on error scenario */ - std::function<void()> callBack; + std::function<void(bool)> callBack; /** @brief Reads file data * |