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.
noexcept
1 parent a3e4125 commit 117b189Copy full SHA for 117b189
2 files changed
include/fine/mutex.hpp
@@ -21,7 +21,7 @@ namespace fine {
21
class Mutex final {
22
public:
23
// Creates an unnamed Mutex.
24
- inline Mutex() noexcept : m_handle(enif_mutex_create(nullptr)) {
+ inline Mutex() : m_handle(enif_mutex_create(nullptr)) {
25
if (!m_handle) {
26
throw std::runtime_error("failed to create mutex");
27
}
include/fine/rwlock.hpp
@@ -20,7 +20,7 @@ namespace fine {
20
class RwLock final {
// Creates an unnamed RwLock.
- inline RwLock() noexcept : m_handle(enif_rwlock_create(nullptr)) {
+ inline RwLock() : m_handle(enif_rwlock_create(nullptr)) {
throw std::runtime_error("failed to create rwlock");
0 commit comments