Mercurial > minori
diff src/library/library.cc @ 227:c4f03f83b252
library: do explicit conversion from fs::path to std::string
this fixes compiler errors on Windows.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 08 Jan 2024 21:30:18 -0500 |
parents | 84e0a3c4737a |
children | d030b30526d5 |
line wrap: on
line diff
--- 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));