aboutsummaryrefslogtreecommitdiffstats
path: root/router/al.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-09-11 19:34:55 -0700
committerChris Robinson <[email protected]>2023-09-11 19:34:55 -0700
commit6722ad196145ef7334d7478bdd375308801e7096 (patch)
tree60ca9a830e7601e8eb4289696b565d852cbb9760 /router/al.cpp
parent43fac7e95568a2b7205db365a49e3938b05e913b (diff)
Make some global and static member variables inline
This also seems to work around the problematic MinGW code generation, so the indirection to access it can be removed.
Diffstat (limited to 'router/al.cpp')
-rw-r--r--router/al.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/router/al.cpp b/router/al.cpp
index c7e01d51..6ed8a626 100644
--- a/router/al.cpp
+++ b/router/al.cpp
@@ -7,8 +7,6 @@
#include "router.h"
-std::atomic<DriverIface*> CurrentCtxDriver{nullptr};
-
#define DECL_THUNK1(R,n,T1) AL_API R AL_APIENTRY n(T1 a) noexcept \
{ \
DriverIface *iface = GetThreadDriver(); \