Add a load of explicit keywords.
[dcpomatic.git] / src / lib / log_entry.h
index ba358f5a3941da9a93a70e02cad80b2dd713a0be..3d6a9f371990387e8c1d5bc8f7eb6399a3c9a4a9 100644 (file)
@@ -36,7 +36,7 @@ public:
        static const int TYPE_TIMING;
        static const int TYPE_DEBUG_EMAIL;
 
-       LogEntry (int type);
+       explicit LogEntry (int type);
        virtual ~LogEntry () {}
 
        virtual std::string message () const = 0;