C++11 tidying.
[dcpomatic.git] / src / lib / scoped_temporary.h
index 8f7416093aaed085a3d14cbe80c98f2ba256f26e..75d9a272f74dab5341e2e3173bce935a90f501b9 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -46,5 +46,5 @@ public:
 
 private:
        boost::filesystem::path _file;
-       FILE* _open;
+       FILE* _open = nullptr;
 };