util: Workaround for gcc-4.7 being unable to deduce noexcept specifications
Change-Id: Ib8b00ff7a6293c4f8596615c4f2af266eab28a1a
Refs: #3384
diff --git a/src/util/scheduler-scoped-event-id.cpp b/src/util/scheduler-scoped-event-id.cpp
index 2858749..7c307a8 100644
--- a/src/util/scheduler-scoped-event-id.cpp
+++ b/src/util/scheduler-scoped-event-id.cpp
@@ -52,7 +52,7 @@
return *this;
}
-ScopedEventId::~ScopedEventId()
+ScopedEventId::~ScopedEventId() noexcept
{
m_scheduler->cancelEvent(m_event);
}
@@ -64,7 +64,7 @@
}
void
-ScopedEventId::release()
+ScopedEventId::release() noexcept
{
m_event.reset();
}