Merged
Merge Request #5 · created by Peter M. Groen


Removed noexcept from using std::function

MQTT-CPP ready for compiling on C++17


From C++17 into development

Merged by Steven de Ridder

Source branch has been removed
2 participants

include/scopeguard.h
@@ -36,7 +36,7 @@ namespace osdev { @@ -36,7 +36,7 @@ namespace osdev {
36 namespace components { 36 namespace components {
37 namespace mqtt { 37 namespace mqtt {
38 38
39 -using CleanUpFunction = std::function<void() noexcept>; 39 +using CleanUpFunction = std::function<void()>;
40 40
41 /** 41 /**
42 * @brief Ensures that a cleanup function is called at the end of the current scope. 42 * @brief Ensures that a cleanup function is called at the end of the current scope.