We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d7696 commit b30f6a5Copy full SHA for b30f6a5
include/oup/observable_unique_ptr.hpp
@@ -8,9 +8,9 @@ namespace oup {
8
/// Simple deleter, suitable for objects allocated with new.
9
struct default_deleter {
10
template<typename T>
11
- void operator() (T* ptr) { delete ptr; }
+ void operator() (T* ptr) noexcept { delete ptr; }
12
13
- void operator() (std::nullptr_t) {}
+ void operator() (std::nullptr_t) noexcept {}
14
};
15
16
0 commit comments