From 1e65bc16915a6dc72b7d63db20742bca6f7faf22 Mon Sep 17 00:00:00 2001 From: HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> Date: Tue, 4 Jan 2022 20:30:26 +0300 Subject: fix build error on v143 --- NorthstarDedicatedTest/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NorthstarDedicatedTest') diff --git a/NorthstarDedicatedTest/audio.cpp b/NorthstarDedicatedTest/audio.cpp index d56762e0..51b74af6 100644 --- a/NorthstarDedicatedTest/audio.cpp +++ b/NorthstarDedicatedTest/audio.cpp @@ -165,7 +165,7 @@ EventOverrideData::EventOverrideData(const std::string& data, const fs::path& pa if (file.is_regular_file() && file.path().extension().string() == ".wav") { // Open the file. - std::basic_ifstream wavStream(file, std::ios::binary); + std::basic_ifstream wavStream(file.path().string(), std::ios::binary); if (wavStream.fail()) { -- cgit v1.2.3