From d65eb9eaf246e374908b8048ccd6eeaff25c15e8 Mon Sep 17 00:00:00 2001 From: eidheim Date: Thu, 19 Aug 2021 12:59:27 +0200 Subject: [PATCH] Fixed potential compilation error on MSYS2 --- src/filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filesystem.cpp b/src/filesystem.cpp index 512a79f..8553c61 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -285,7 +285,7 @@ boost::filesystem::path filesystem::get_executable(const boost::filesystem::path return executable_name; } - auto &executable_name_str = executable_name.string(); + auto executable_name_str = executable_name.string(); for(auto &folder : get_executable_search_paths()) { boost::filesystem::path latest_executable; std::string latest_version;