# HG changeset patch # User Paper # Date 1704767418 18000 # Node ID c4f03f83b2526ca23732367bad2d8f558e607324 # Parent f784b5b1914ccdf1c6a3cb6bcca7edf427effa46 library: do explicit conversion from fs::path to std::string this fixes compiler errors on Windows. diff -r f784b5b1914c -r c4f03f83b252 src/library/library.cc --- a/src/library/library.cc Mon Jan 08 21:23:00 2024 -0500 +++ b/src/library/library.cc Mon Jan 08 21:30:18 2024 -0500 @@ -25,7 +25,7 @@ if (!std::filesystem::is_regular_file(entry.path())) continue; - const std::string basename = entry.path().filename(); + const std::string basename = entry.path().filename().string(); anitomy::Anitomy anitomy; anitomy.Parse(Strings::ToWstring(basename));