]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/smux.h
Use std::lock_guard instead of STG_LOCKER.
[stg.git] / projects / stargazer / plugins / other / smux / smux.h
index bb62c7c0a03a9c7001f934ff8ee8d4ee7c67954d..95f96006d841506eba199171681295aad3b398ad 100644 (file)
@@ -4,8 +4,11 @@
 #include "tables.h"
 #include "types.h"
 
 #include "tables.h"
 #include "types.h"
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
 #include "stg/SMUX-PDUs.h"
 #include "stg/ObjectSyntax.h"
 #include "stg/SMUX-PDUs.h"
 #include "stg/ObjectSyntax.h"
+#pragma GCC diagnostic pop
 
 #include "stg/plugin.h"
 #include "stg/module_settings.h"
 
 #include "stg/plugin.h"
 #include "stg/module_settings.h"
 
 namespace STG
 {
 
 namespace STG
 {
-struct User;
+class User;
 struct Settings;
 struct Settings;
-struct Users;
-struct Tariffs;
+class Users;
+class Tariffs;
 struct Services;
 struct Corporations;
 struct TraffCounter;
 struct Services;
 struct Corporations;
 struct TraffCounter;