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.hpp b/src/util/scheduler-scoped-event-id.hpp
index 1391d5d..c2192f5 100644
--- a/src/util/scheduler-scoped-event-id.hpp
+++ b/src/util/scheduler-scoped-event-id.hpp
@@ -57,7 +57,7 @@
/** \brief cancels the event
*/
- ~ScopedEventId();
+ ~ScopedEventId() noexcept;
/** \brief cancels the event manually
*/
@@ -68,7 +68,7 @@
* when this ScopedEventId is destructed
*/
void
- release();
+ release() noexcept;
private:
Scheduler* m_scheduler; // pointer to allow move semantics