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
228
228
inline ~storage_lock_t ()
229
229
{
230
230
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);
232
232
}
233
233
234
234
// !
@@ -256,7 +256,7 @@ class IAsyncQueueDispatcherBase
256
256
{
257
257
assert (m_future);
258
258
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);
260
260
m_future = nullptr ;
261
261
}
262
262
// ! Can only be called once!
@@ -319,7 +319,7 @@ class IAsyncQueueDispatcherBase
319
319
request.exchange (nullptr )->cancel ();
320
320
321
321
// 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);
323
323
return true ;
324
324
}
325
325
// we're here because either:
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ using namespace nbl::system;
16
16
#if defined(_NBL_WINDOWS_API_)
17
17
#define LIB reinterpret_cast <HMODULE&>(lib)
18
18
#elif defined(_NBL_POSIX_API_)
19
- #define lib
19
+ #define LIB lib
20
20
#endif
21
21
22
22
DefaultFuncPtrLoader::DefaultFuncPtrLoader (const char * name) : DefaultFuncPtrLoader()
Original file line number Diff line number Diff line change 3
3
#include " nbl/video/IPhysicalDevice.h"
4
4
#include " nbl/video/utilities/renderdoc.h"
5
5
6
+ #if defined(_NBL_POSIX_API_)
7
+ #include < dlfcn.h>
8
+ #endif
9
+
6
10
namespace nbl ::video
7
11
{
8
12
You can’t perform that action at this time.
0 commit comments