]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/tables.h
Fight CLang warnings.
[stg.git] / projects / stargazer / plugins / other / smux / tables.h
index 1e27b326c30d17fa78c54bf1f2b43b20e05806d7..17875cecfa49029e9d4f770f32c45c5bf6edf288 100644 (file)
@@ -1,16 +1,14 @@
-#ifndef __TABLES_H__
-#define __TABLES_H__
+#pragma once
+
+#include "sensors.h"
 
 #include <string>
 #include <map>
 
-#include "sensors.h"
-
 namespace STG
 {
-struct Tariffs;
-struct Users;
-}
+class Tariffs;
+class Users;
 
 class TableSensor {
     public:
@@ -42,5 +40,4 @@ class TariffUsersTable : public TableSensor {
 };
 
 typedef std::map<std::string, TableSensor *> Tables;
-
-#endif
+}