X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_point.h;h=e7c232728a778604bbbe95a8332a4eea20933ad6;hb=037b18b34e3e3fd9b9e692d85f35de17ab67aff8;hp=cc5e4943df4be126507420b2ed07b6599cae8375;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/audio_point.h b/src/lib/audio_point.h index cc5e4943d..e7c232728 100644 --- a/src/lib/audio_point.h +++ b/src/lib/audio_point.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,15 +18,19 @@ */ + #ifndef DCPOMATIC_AUDIO_POINT_H #define DCPOMATIC_AUDIO_POINT_H + #include + 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