diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-01-05 20:03:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-01-05 20:03:43 +0000 |
| commit | ad59559fdd19f89852eebd94299691e6091ff02f (patch) | |
| tree | fcdbebfdfd0b25f2a071d0104450748f4ac56f64 /src/lib/config.h | |
| parent | 66469adf1bd6e5c288542dda601a66b22d955794 (diff) | |
Backup more than one config on failure to load.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index a57fbd587..61d9c64e6 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -675,6 +675,8 @@ public: static bool have_existing (std::string); static boost::filesystem::path config_file (); + static boost::optional<boost::filesystem::path> test_path; + private: Config (); static boost::filesystem::path path (std::string file, bool create_directories = true); |
