diff --git a/BaseLib/FileTools.cpp b/BaseLib/FileTools.cpp index 14779a3085d602b98c33082be2f953f98cbeb9ab..88024eb92d3d06fb9c1d35d66f95b8db607ff6ba 100644 --- a/BaseLib/FileTools.cpp +++ b/BaseLib/FileTools.cpp @@ -197,11 +197,7 @@ std::string copyPathToFileName(const std::string &file_name, { return filePath.string(); } - else - { - return (fs::path(source) /= filePath).string(); - } - + return (fs::path(source) /= filePath).string(); } std::string extractPath(std::string const& pathname)