From 6722ad196145ef7334d7478bdd375308801e7096 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Sep 2023 19:34:55 -0700 Subject: 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. --- router/al.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'router/al.cpp') 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 CurrentCtxDriver{nullptr}; - #define DECL_THUNK1(R,n,T1) AL_API R AL_APIENTRY n(T1 a) noexcept \ { \ DriverIface *iface = GetThreadDriver(); \ -- cgit v1.2.3