More noncopyable.
[dcpomatic.git] / src / lib / ratio.h
index 6916a74912cdaa5c9c322312e867747b40d9f700..c331edabe8104afd54e0ab0a8895aa7cebf5ef91 100644 (file)
 
 */
 
+#ifndef DCPOMATIC_RATIO_H
+#define DCPOMATIC_RATIO_H
+
 #include <vector>
+#include <boost/utility.hpp>
 #include <libdcp/util.h>
 
-class Ratio
+class Ratio : public boost::noncopyable
 {
 public:
        Ratio (float ratio, std::string id, std::string n, std::string d)
@@ -64,3 +68,5 @@ private:
 
        static std::vector<Ratio const *> _ratios;      
 };
+
+#endif