C++11 tidying.
[dcpomatic.git] / src / lib / audio_point.h
index cc5e4943df4be126507420b2ed07b6599cae8375..e7c232728a778604bbbe95a8332a4eea20933ad6 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #ifndef DCPOMATIC_AUDIO_POINT_H
 #define DCPOMATIC_AUDIO_POINT_H
 
+
 #include <libcxml/cxml.h>
 
+
 namespace xmlpp {
        class Element;
 }
 
+
 class AudioPoint
 {
 public:
@@ -37,7 +41,7 @@ public:
        };
 
        AudioPoint ();
-       AudioPoint (cxml::ConstNodePtr node);
+       explicit AudioPoint (cxml::ConstNodePtr node);
        AudioPoint (AudioPoint const &);
        AudioPoint& operator= (AudioPoint const &);
 
@@ -51,4 +55,5 @@ private:
        float _data[COUNT];
 };
 
+
 #endif