Commit 64bc1b7434f37229a410b5a0fc38938f5a985fea
Merge branch 'C++17' into 'development'
Removed noexcept from using std::function MQTT-CPP ready for compiling on C++17 See merge request !5
Showing
1 changed file
with
1 additions
and
1 deletions
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. |