diff options
author | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-04 20:30:26 +0300 |
---|---|---|
committer | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-04 20:30:26 +0300 |
commit | 1e65bc16915a6dc72b7d63db20742bca6f7faf22 (patch) | |
tree | befb3edbd9283c6e894fb0724428e60a417a15b1 /NorthstarDedicatedTest | |
parent | b9b8fb4cde19b3bdcf6f327b82cc7797af85a8c9 (diff) | |
download | NorthstarLauncher-1e65bc16915a6dc72b7d63db20742bca6f7faf22.tar.gz NorthstarLauncher-1e65bc16915a6dc72b7d63db20742bca6f7faf22.zip |
fix build error on v143
Diffstat (limited to 'NorthstarDedicatedTest')
-rw-r--r-- | NorthstarDedicatedTest/audio.cpp | 2 |
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()) { |