Commit fd7403ce2f0fbc4a4c13d554ef8151dec2afc9fd
1 parent
7d129bb1
Removed noexcept from using std::function
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. |