Skip to content

Commit 9602bd0

Browse files
committed
address build problems with clang-17
Signed-off-by: Michael Pollind <mpollind@gmail.com>
1 parent e2ff91e commit 9602bd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/nbl/system/IAsyncQueueDispatcher.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class IAsyncQueueDispatcherBase
228228
inline ~storage_lock_t()
229229
{
230230
if (m_future)
231-
m_future->state.exchangeNotify<true>(state_enum::READY,state_enum::LOCKED);
231+
m_future->state.template exchangeNotify<true>(state_enum::READY,state_enum::LOCKED);
232232
}
233233

234234
//!
@@ -256,7 +256,7 @@ class IAsyncQueueDispatcherBase
256256
{
257257
assert(m_future);
258258
m_future->destruct();
259-
m_future->state.exchangeNotify<true>(state_enum::INITIAL,state_enum::LOCKED);
259+
m_future->state.template exchangeNotify<true>(state_enum::INITIAL,state_enum::LOCKED);
260260
m_future = nullptr;
261261
}
262262
//! Can only be called once!

0 commit comments

Comments
 (0)