]> 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 a121bf7a5264f4e7a4aadf3b4a70aa7a6556dff1..2b54f2a2fc428231ef78266849433848abaf2940 100644 (file)
@@ -3,17 +3,17 @@
 
 #include <string>
 #include <vector>
-#include <istream>
+#include <iostream>
 
 #include "stg/OBJECT_IDENTIFIER.h"
 
 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();