aboutsummaryrefslogtreecommitdiffstats
path: root/router/router.h
diff options
context:
space:
mode:
Diffstat (limited to 'router/router.h')
-rw-r--r--router/router.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/router/router.h b/router/router.h
index 1a86da02..c7d2c89e 100644
--- a/router/router.h
+++ b/router/router.h
@@ -7,6 +7,7 @@
#include <stdio.h>
+#include <vector>
#include <atomic>
#include "AL/alc.h"
@@ -137,8 +138,7 @@ typedef struct DriverIface {
LPALDISTANCEMODEL alDistanceModel;
} DriverIface;
-extern DriverIface *DriverList;
-extern int DriverListSize;
+extern std::vector<DriverIface> DriverList;
extern thread_local DriverIface *ThreadCtxDriver;
extern std::atomic<DriverIface*> CurrentCtxDriver;