]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/types.h
Various fixes of issues reported by static analyzers.
[stg.git] / projects / stargazer / plugins / other / smux / types.h
index 5498d2ebce3e6350b2b4f513425e824e66b2f01b..2b54f2a2fc428231ef78266849433848abaf2940 100644 (file)
@@ -9,11 +9,11 @@
 
 class OID {
     public:
-        OID(const std::string & str);
+        explicit OID(const std::string & str);
         OID(const char * str, size_t length);
-        OID(const std::vector<unsigned> & arcs);
+        explicit OID(const std::vector<unsigned> & arcs);
         OID(const unsigned * arcs, size_t length);
-        OID(OBJECT_IDENTIFIER_t * oid);
+        explicit OID(OBJECT_IDENTIFIER_t * oid);
         OID(const OID & rvalue);
         ~OID();