Merged
Merge Request #5
·
created by
Removed noexcept from using std::function
MQTT-CPP ready for compiling on C++17
From
C++17
into
development
-
mentioned in commit 64bc1b7434f37229a410b5a0fc38938f5a985fea
-
Status changed to merged
Showing
1 changed file
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. |