Use OS independent utf8 string representation of std_fs::path at to_json conversions.

This commit is contained in:
zel1b08a 2024-11-19 17:22:17 +07:00 committed by GitHub
parent 64f68dc563
commit 4c5083dd3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -435,7 +435,7 @@ inline void to_json(BasicJsonType& j, const T& t)
template<typename BasicJsonType> template<typename BasicJsonType>
inline void to_json(BasicJsonType& j, const std_fs::path& p) inline void to_json(BasicJsonType& j, const std_fs::path& p)
{ {
j = p.string(); j = p.u8string();
} }
#endif #endif