forked from Hartmut/paradiso
fix for Visual Studio Build Tool 2022
This commit is contained in:
parent
97697d2d7a
commit
ddb62cb395
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ struct BitmapIO::Impl {
|
||||||
|
|
||||||
// moving to C++23 this should be replaced with
|
// moving to C++23 this should be replaced with
|
||||||
// std::expected
|
// std::expected
|
||||||
auto data = read(asset_filepath.c_str());
|
auto data = read(asset_filepath.generic_string());
|
||||||
|
|
||||||
cache_[filename] = data;
|
cache_[filename] = data;
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ void BitmapIO::set_path(std::string_view path)
|
||||||
|
|
||||||
std::string BitmapIO::path() const
|
std::string BitmapIO::path() const
|
||||||
{
|
{
|
||||||
return impl_->asset_path_;
|
return impl_->asset_path_.generic_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue