aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/audio.cpp
diff options
context:
space:
mode:
authorHappyDOGE <28511119+HappyDOGE@users.noreply.github.com>2022-01-04 20:30:26 +0300
committerHappyDOGE <28511119+HappyDOGE@users.noreply.github.com>2022-01-04 20:30:26 +0300
commit1e65bc16915a6dc72b7d63db20742bca6f7faf22 (patch)
treebefb3edbd9283c6e894fb0724428e60a417a15b1 /NorthstarDedicatedTest/audio.cpp
parentb9b8fb4cde19b3bdcf6f327b82cc7797af85a8c9 (diff)
downloadNorthstarLauncher-1e65bc16915a6dc72b7d63db20742bca6f7faf22.tar.gz
NorthstarLauncher-1e65bc16915a6dc72b7d63db20742bca6f7faf22.zip
fix build error on v143
Diffstat (limited to 'NorthstarDedicatedTest/audio.cpp')
-rw-r--r--NorthstarDedicatedTest/audio.cpp2
1 files changed, 1 insertions, 1 deletions
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<uint8_t> wavStream(file, std::ios::binary);
+ std::basic_ifstream<uint8_t> wavStream(file.path().string(), std::ios::binary);
if (wavStream.fail())
{