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 e2ff91e commit 9602bd0Copy full SHA for 9602bd0
include/nbl/system/IAsyncQueueDispatcher.h
@@ -228,7 +228,7 @@ class IAsyncQueueDispatcherBase
228
inline ~storage_lock_t()
229
{
230
if (m_future)
231
- m_future->state.exchangeNotify<true>(state_enum::READY,state_enum::LOCKED);
+ m_future->state.template exchangeNotify<true>(state_enum::READY,state_enum::LOCKED);
232
}
233
234
//!
@@ -256,7 +256,7 @@ class IAsyncQueueDispatcherBase
256
257
assert(m_future);
258
m_future->destruct();
259
- m_future->state.exchangeNotify<true>(state_enum::INITIAL,state_enum::LOCKED);
+ m_future->state.template exchangeNotify<true>(state_enum::INITIAL,state_enum::LOCKED);
260
m_future = nullptr;
261
262
//! Can only be called once!
0 commit comments