From 9434ac0e063208df72f8994c8ebbda204038f1ef Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Mon, 8 May 2023 23:15:46 +0200 Subject: [PATCH] clangafiy it --- apps/mwiniimporter_tests/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/mwiniimporter_tests/main.cpp b/apps/mwiniimporter_tests/main.cpp index bb7b0a7f4d..b06e4e1b5e 100644 --- a/apps/mwiniimporter_tests/main.cpp +++ b/apps/mwiniimporter_tests/main.cpp @@ -41,10 +41,11 @@ int runBinary( const std::filesystem::path& binaryPath, const std::filesystem::path& iniPath, const std::filesystem::path& cfgPath) { #ifdef _WIN32 - std::filesystem::path psScriptPath = std::filesystem::temp_directory_path() / - ("openmw_iniimporter_tests_" + std::to_string(std::time(nullptr))+ ".ps1"); + std::filesystem::path psScriptPath = std::filesystem::temp_directory_path() + / ("openmw_iniimporter_tests_" + std::to_string(std::time(nullptr))+ ".ps1"); std::wofstream psScriptFile(psScriptPath); - psScriptFile << L"& '" << binaryPath.native() << L"' -i '" << iniPath.native() << L"' -c '" << cfgPath.native() << "'"; + psScriptFile << L"& '" << binaryPath.native() << L"' -i '" << iniPath.native() << L"' -c '" << cfgPath.native() + << "'"; psScriptFile.close(); std::wstringstream psCmd;