From a4c377dc08098082d57ca72c2a1a328b888c775e Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 1 Aug 2022 15:06:17 +0200 Subject: [PATCH] fix: Compile issue --- lib/libimhex/source/helpers/fs.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/libimhex/source/helpers/fs.cpp b/lib/libimhex/source/helpers/fs.cpp index 64f2ae6f6..19906d737 100644 --- a/lib/libimhex/source/helpers/fs.cpp +++ b/lib/libimhex/source/helpers/fs.cpp @@ -167,7 +167,10 @@ namespace hex::fs { }); break; case ImHexPath::Config: - return { appDataDir / "imhex" / "config" }; + std::transform(paths.begin(), paths.end(), std::back_inserter(result), [](auto &path) { + return path / "config"; + }); + break; case ImHexPath::Resources: std::transform(paths.begin(), paths.end(), std::back_inserter(result), [](auto &path) { return path / "resources";