mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
Fix 'duplicate symbol' error.
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
parent
b59d8c3a23
commit
d02c582b96
@ -30,8 +30,8 @@ void write_escaped_path(basic_memory_buffer<Char>& quoted,
|
||||
}
|
||||
# ifdef _WIN32
|
||||
template <>
|
||||
void write_escaped_path<char>(basic_memory_buffer<char>& quoted,
|
||||
const std::filesystem::path& p) {
|
||||
inline void write_escaped_path<char>(basic_memory_buffer<char>& quoted,
|
||||
const std::filesystem::path& p) {
|
||||
auto s = p.u8string();
|
||||
write_escaped_string<char>(
|
||||
std::back_inserter(quoted),
|
||||
@ -39,7 +39,7 @@ void write_escaped_path<char>(basic_memory_buffer<char>& quoted,
|
||||
}
|
||||
# endif
|
||||
template <>
|
||||
void write_escaped_path<std::filesystem::path::value_type>(
|
||||
inline void write_escaped_path<std::filesystem::path::value_type>(
|
||||
basic_memory_buffer<std::filesystem::path::value_type>& quoted,
|
||||
const std::filesystem::path& p) {
|
||||
write_escaped_string<std::filesystem::path::value_type>(
|
||||
|
Loading…
Reference in New Issue
Block a user