Remove use of boost::noncopyable.
[dcpomatic.git] / src / lib / dcp_content_type.h
index eea698217ca5e59a79e0addbed9e1bf4211cf62f..f45bbb9f87808bed7a8fe5a0d5241943dedb81fe 100644 (file)
 
 */
 
+
 #ifndef DCPOMATIC_DCP_CONTENT_TYPE_H
 #define DCPOMATIC_DCP_CONTENT_TYPE_H
 
+
 /** @file src/dcp_content_type.h
  *  @brief DCPContentType class.
  */
 
+
 #include <dcp/dcp.h>
 #include <string>
 #include <vector>
 
+
 /** @class DCPContentType
  *  @brief A description of the type of content for a DCP (e.g. feature, trailer etc.)
  */
-class DCPContentType : public boost::noncopyable
+class DCPContentType
 {
 public:
        DCPContentType (std::string, dcp::ContentKind, std::string);
 
+       DCPContentType (DCPContentType const&) = delete;
+       DCPContentType& operator= (DCPContentType const&) = delete;
+
        /** @return user-visible `pretty' name */
        std::string pretty_name () const {
                return _pretty_name;
@@ -66,4 +73,5 @@ private:
        static std::vector<DCPContentType const *> _dcp_content_types;
 };
 
+
 #endif