Missing virtual destructor.
[dcpomatic.git] / src / lib / cinema_sound_processor.h
index f735b12277d0c3984a19803cd4941e0e23dd9c34..c2d2f44c005fd0faf31d719f6c84ce7dda3c7055 100644 (file)
@@ -24,9 +24,9 @@
 #ifndef DCPOMATIC_CINEMA_SOUND_PROCESSOR_H
 #define DCPOMATIC_CINEMA_SOUND_PROCESSOR_H
 
+#include <boost/utility.hpp>
 #include <string>
 #include <vector>
-#include <boost/utility.hpp>
 
 /** @class CinemaSoundProcessor
  *  @brief Class to describe a cimema's sound processor.
@@ -38,6 +38,7 @@ class CinemaSoundProcessor : public boost::noncopyable
 {
 public:
        CinemaSoundProcessor (std::string i, std::string n);
+       virtual ~CinemaSoundProcessor () {}
 
        virtual float db_for_fader_change (float from, float to) const = 0;
 
@@ -50,7 +51,7 @@ public:
        std::string name () const {
                return _name;
        }
-       
+
        static std::vector<CinemaSoundProcessor const *> all ();
        static void setup_cinema_sound_processors ();
        static CinemaSoundProcessor const * from_id (std::string id);