Fix bad frees if exceptions are thrown by constructors.
[libdcp.git] / src / dcp_time.h
index 48698dcc91c1e1d863842a72d619308471657734..1b73e3e8bc96f72655f721f4ce40cf75058b60b3 100644 (file)
@@ -62,6 +62,9 @@ public:
 
        std::string to_string () const;
        int64_t to_ticks () const;
+
+private:
+       void set (double);
 };
 
 extern bool operator== (Time const & a, Time const & b);