MSVC build fix
The fs::path on MSVC doesn't convert to string automatically
This commit is contained in:
parent
5afabd4429
commit
5d663a7969
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ tresult SfizzVstState::load(IBStream* state)
|
||||||
return kResultFalse;
|
return kResultFalse;
|
||||||
|
|
||||||
if (const char* str = s.readStr8())
|
if (const char* str = s.readStr8())
|
||||||
sfzFile = fromPlatformAgnosticPath(str);
|
sfzFile = fromPlatformAgnosticPath(str).string();
|
||||||
else
|
else
|
||||||
return kResultFalse;
|
return kResultFalse;
|
||||||
|
|
||||||
|
|
@ -42,7 +42,7 @@ tresult SfizzVstState::load(IBStream* state)
|
||||||
|
|
||||||
if (version >= 1) {
|
if (version >= 1) {
|
||||||
if (const char* str = s.readStr8())
|
if (const char* str = s.readStr8())
|
||||||
scalaFile = fromPlatformAgnosticPath(str);
|
scalaFile = fromPlatformAgnosticPath(str).string();
|
||||||
else
|
else
|
||||||
return kResultFalse;
|
return kResultFalse;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue