summaryrefslogtreecommitdiff
path: root/src/lib/state.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-17 17:33:35 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-17 17:33:35 +0100
commit33e13c4053138930f4b2f59349e441c76111059d (patch)
tree4a4da8c31d0a78bc11539ae89a5d67602cdcb913 /src/lib/state.cc
parente573f4fa173608dcb7ca23f543b49d5be26a8226 (diff)
Assorted C++11 tidying.
Diffstat (limited to 'src/lib/state.cc')
-rw-r--r--src/lib/state.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/state.cc b/src/lib/state.cc
index dd48516f4..5f7e9a701 100644
--- a/src/lib/state.cc
+++ b/src/lib/state.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2018-2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,16 +18,21 @@
*/
+
#include "state.h"
#include "cross.h"
#include <glib.h>
+
using std::string;
+
boost::optional<boost::filesystem::path> State::override_path;
+
/** @param file State filename
- * @return Full path to write @file to */
+ * @return Full path to write @file to.
+ */
boost::filesystem::path
State::path (string file, bool create_directories)
{