]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/handlers.cpp
Stargazer (#6)
[stg.git] / projects / stargazer / plugins / other / smux / handlers.cpp
index ac179da9cc28ba6b0ae040c3e4e2d4aa7fb8f8ee..a3e0613824ace9ecad38f8b6bfde9e9807266231 100644 (file)
@@ -1,14 +1,19 @@
-#include <cassert>
+#include "smux.h"
+#include "utils.h"
+
+#include "stg/common.h"
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
 #include "stg/GetRequest-PDU.h"
 #include "stg/GetResponse-PDU.h"
 #include "stg/VarBindList.h"
 #include "stg/VarBind.h"
+#pragma GCC diagnostic pop
 
-#include "stg/common.h"
+#include <cassert>
 
-#include "utils.h"
-#include "smux.h"
+using STG::SMUX;
 
 #ifdef SMUX_DEBUG
 bool SMUX::CloseHandler(const SMUX_PDUs_t * pdus)