File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff 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!
@@ -319,7 +319,7 @@ class IAsyncQueueDispatcherBase
319319 request.exchange (nullptr )->cancel ();
320320
321321 // after doing everything, we can mark ourselves as cleaned up
322- base_t ::state.exchangeNotify <false >(base_t ::STATE::INITIAL, base_t ::STATE::EXECUTING);
322+ base_t ::state.template exchangeNotify <false >(base_t ::STATE::INITIAL, base_t ::STATE::EXECUTING);
323323 return true ;
324324 }
325325 // we're here because either:
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ using namespace nbl::system;
1616#if defined(_NBL_WINDOWS_API_)
1717#define LIB reinterpret_cast <HMODULE&>(lib)
1818#elif defined(_NBL_POSIX_API_)
19- #define lib
19+ #define LIB lib
2020#endif
2121
2222DefaultFuncPtrLoader::DefaultFuncPtrLoader (const char * name) : DefaultFuncPtrLoader()
Original file line number Diff line number Diff line change 33#include " nbl/video/IPhysicalDevice.h"
44#include " nbl/video/utilities/renderdoc.h"
55
6+ #if defined(_NBL_POSIX_API_)
7+ #include < dlfcn.h>
8+ #endif
9+
610namespace nbl ::video
711{
812
You can’t perform that action at this time.
0 commit comments