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 ca196a6 commit f8fb0faCopy full SHA for f8fb0fa
include/nbl/system/IAsyncQueueDispatcher.h
@@ -218,7 +218,7 @@ class IAsyncQueueDispatcherBase
218
friend class future_t<T>;
219
inline storage_lock_t(future_t<T>* _future) : m_future(_future)
220
{
221
- assert(m_future->state.query()==state_enum::LOCKED);
+ assert(!m_future || m_future->state.query()==state_enum::LOCKED);
222
}
223
//! as usual for "unique" things
224
inline storage_lock_t(const storage_lock_t&) = delete;
0 commit comments