Commit 178aba7e authored by Dominik Charousset's avatar Dominik Charousset

Fix build with exceptions disabled

parent 3c9d332f
......@@ -29,6 +29,8 @@
namespace caf::test {
#ifdef CAF_ENABLE_EXCEPTIONS
requirement_error::requirement_error(std::string msg) : what_(std::move(msg)) {
// nop
}
......@@ -37,6 +39,8 @@ const char* requirement_error::what() const noexcept {
return what_.c_str();
}
#endif // CAF_ENABLE_EXCEPTIONS
class watchdog {
public:
static void start(int secs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment