aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2024-07-27 18:15:47 +0200
committervaxerski <[email protected]>2024-07-27 18:15:47 +0200
commitae638d997d45e6183adafc6942b1b8fcc70f8928 (patch)
treeaf271ced698387a8c7ed1c3fb342861ed5d68324
parent141cd09bd3315aedc075d451fd120a9504886ec1 (diff)
downloadHyprland-ae638d997d45e6183adafc6942b1b8fcc70f8928.tar.gz
Hyprland-ae638d997d45e6183adafc6942b1b8fcc70f8928.zip
configmgr: fix warning
-rw-r--r--src/config/ConfigManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 657d7aff..65eab579 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -642,7 +642,7 @@ std::optional<std::string> CConfigManager::generateConfig(std::string configPath
Debug::log(WARN, "Creating config home directory");
try {
std::filesystem::create_directories(parentPath);
- } catch (std::exception e) { throw e; }
+ } catch (std::exception& e) { throw e; }
}
Debug::log(WARN, "No config file found; attempting to generate.");