From f537c2d4d06bd683dedb23c1d231d938d7582506 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 22 Aug 2022 10:29:17 -0400 Subject: [PATCH] Convert path to string for use on Windows --- src/convert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/convert.cpp b/src/convert.cpp index 94642c2..7db1a08 100644 --- a/src/convert.cpp +++ b/src/convert.cpp @@ -462,7 +462,7 @@ convert::to_bitmap(const fs::path &filepath_, for(auto &bitmap : bitmaps_) { - bitmap.set("filename",filepath_.filename().stem()); + bitmap.set("filename",filepath_.filename().stem().string()); } }