From 86e364484ac2cfcac1b1a5902cf5b9d345b819f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Sverre=20Lien=20Sell=C3=A6g?= Date: Tue, 15 Sep 2020 01:49:54 +0200 Subject: [PATCH] remove unused member --- src/config.cpp | 2 +- src/config.hpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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: