changeset 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 f784b5b1914c
children d030b30526d5
files src/library/library.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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));