Skip to content

Commit

Permalink
windows doesn't do automatic conversion from path to string
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed May 3, 2024
1 parent 43369ff commit 384d725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChainLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ChainLoader::ChainLoader() {
auto fname = dir_entry.path().filename();
if (fname.extension() != search_ext || fname.stem().string().find(search_prefix) != 0)
continue;
auto wrapper = new LibWrapper(fname);
auto wrapper = new LibWrapper(fname.string());
if (wrapper->handle)
priq.emplace(wrapper);
else
Expand Down

0 comments on commit 384d725

Please sign in to comment.