diff --git a/src/config.cpp b/src/config.cpp index d12e4bb..0ed706a 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -7,7 +7,7 @@ #include Config::Config() { - home_path = filesystem::get_home_path(); + const auto home_path = filesystem::get_home_path(); if(home_path.empty()) throw std::runtime_error("Could not find home path"); home_juci_path = home_path / ".juci"; diff --git a/src/config.hpp b/src/config.hpp index ec44076..bf65414 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -133,7 +133,6 @@ public: Source source; Log log; - boost::filesystem::path home_path; boost::filesystem::path home_juci_path; private: