git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix debug build, use separate clang-tidy config.
[stg.git]
/
projects
/
stargazer
/
plugins
/
other
/
smux
/
handlers.cpp
diff --git
a/projects/stargazer/plugins/other/smux/handlers.cpp
b/projects/stargazer/plugins/other/smux/handlers.cpp
index cce188c8ca46ca33c30fa2bec369cb80ac26ace4..a3e0613824ace9ecad38f8b6bfde9e9807266231 100644
(file)
--- a/
projects/stargazer/plugins/other/smux/handlers.cpp
+++ b/
projects/stargazer/plugins/other/smux/handlers.cpp
@@
-1,14
+1,17
@@
-#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"
#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 "utils.h"
-#include "smux.h"
+#include <cassert>
using STG::SMUX;
using STG::SMUX;