From 8333912b2484a1d1b84555ef8d026e5473f6c819 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Thu, 11 Feb 2021 23:10:01 +0100 Subject: [PATCH] cleanup up string concat --- core/src/core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/core.cpp b/core/src/core.cpp index 7553edaf..55b696b3 100644 --- a/core/src/core.cpp +++ b/core/src/core.cpp @@ -150,8 +150,8 @@ int sdrpp_main(int argc, char *argv[]) { defConfig["modulesDirectory"] = "./modules"; defConfig["resourcesDirectory"] = "./res"; #else - defConfig["modulesDirectory"] = (std::string)INSTALL_PREFIX + "/lib/sdrpp/plugins"; - defConfig["resourcesDirectory"] = (std::string)INSTALL_PREFIX + "/share/sdrpp"; + defConfig["modulesDirectory"] = INSTALL_PREFIX "/lib/sdrpp/plugins"; + defConfig["resourcesDirectory"] = INSTALL_PREFIX "/share/sdrpp"; #endif // Load config