Add some missing override labels.
[dcpomatic.git] / src / wx / content_view.h
index 0bbfffaa76418f331f1ee699d7d6afb3d21fe508..d7c1a43ed7b971307a5fc1b5810e07e7945c4fb4 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -18,6 +18,7 @@
 
 */
 
+
 #include "lib/content_store.h"
 #include "lib/warnings.h"
 DCPOMATIC_DISABLE_WARNINGS
@@ -25,9 +26,11 @@ DCPOMATIC_DISABLE_WARNINGS
 DCPOMATIC_ENABLE_WARNINGS
 #include <vector>
 
+
 class Content;
 class Film;
 
+
 class ContentView : public wxListCtrl, public ContentStore
 {
 public:
@@ -36,11 +39,11 @@ public:
        std::shared_ptr<Content> selected () const;
        void update ();
 
-       std::shared_ptr<Content> get (std::string digest) const;
+       std::shared_ptr<Content> get (std::string digest) const override;
 
 private:
        void add (std::shared_ptr<Content> content);
 
        std::weak_ptr<Film> _film;
-       std::vector<std::shared_ptr<Content> > _content;
+       std::vector<std::shared_ptr<Content>> _content;
 };