X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/43ac308ea20014761481bc40525496a0bb1d9740..b27841d687ec9e84983340b5581376dfb24010ea:/projects/stargazer/plugins/other/smux/types.h diff --git a/projects/stargazer/plugins/other/smux/types.h b/projects/stargazer/plugins/other/smux/types.h index 2b54f2a2..f6b145f7 100644 --- a/projects/stargazer/plugins/other/smux/types.h +++ b/projects/stargazer/plugins/other/smux/types.h @@ -1,13 +1,16 @@ -#ifndef __TYPES_H__ -#define __TYPES_H__ +#pragma once + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wold-style-cast" +#include "stg/OBJECT_IDENTIFIER.h" +#pragma GCC diagnostic pop #include #include #include -#include "stg/OBJECT_IDENTIFIER.h" - -class OID { +class OID +{ public: explicit OID(const std::string & str); OID(const char * str, size_t length); @@ -53,5 +56,3 @@ bool PrefixLess(const OID & a, const OID & b) { return a.PrefixLess(b); } - -#endif