Skip to content

Commit 80aa8df

Browse files
committed
Windows compat fix
1 parent c5aea6d commit 80aa8df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/editor/textures/TextureManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ using namespace Sickle::Editor::Textures;
3131

3232
struct WADInputStreamGIO : WAD::WADInputStream
3333
{
34-
WADInputStreamGIO(std::string const &wad_path)
34+
WADInputStreamGIO(std::filesystem::path const &wad_path)
3535
{
36-
auto const file = Gio::File::create_for_path(wad_path);
36+
auto const file = Gio::File::create_for_path(wad_path.string());
3737
_stream = file->read();
3838
}
3939
virtual ~WADInputStreamGIO()=default;

0 commit comments

Comments
 (0)