Merge c859d643d6 into 8215dbafbd
This commit is contained in:
commit
0a7a664403
@ -443,7 +443,11 @@ inline void to_json(BasicJsonType& j, const T& t)
|
||||
template<typename BasicJsonType>
|
||||
inline void to_json(BasicJsonType& j, const std_fs::path& p)
|
||||
{
|
||||
j = p.string();
|
||||
#if defined __cpp_lib_char8_t
|
||||
j = reinterpret_cast<char const*>(p.u8string().data());
|
||||
#else
|
||||
j = p.u8string();
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user