Commit d02c582b authored by Vladislav Shchapov's avatar Vladislav Shchapov Committed by Victor Zverovich

Fix 'duplicate symbol' error.

Signed-off-by: default avatarVladislav Shchapov <vladislav@shchapov.ru>
parent b59d8c3a
...@@ -30,8 +30,8 @@ void write_escaped_path(basic_memory_buffer<Char>& quoted, ...@@ -30,8 +30,8 @@ void write_escaped_path(basic_memory_buffer<Char>& quoted,
} }
# ifdef _WIN32 # ifdef _WIN32
template <> template <>
void write_escaped_path<char>(basic_memory_buffer<char>& quoted, inline void write_escaped_path<char>(basic_memory_buffer<char>& quoted,
const std::filesystem::path& p) { const std::filesystem::path& p) {
auto s = p.u8string(); auto s = p.u8string();
write_escaped_string<char>( write_escaped_string<char>(
std::back_inserter(quoted), std::back_inserter(quoted),
...@@ -39,7 +39,7 @@ void write_escaped_path<char>(basic_memory_buffer<char>& quoted, ...@@ -39,7 +39,7 @@ void write_escaped_path<char>(basic_memory_buffer<char>& quoted,
} }
# endif # endif
template <> 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, basic_memory_buffer<std::filesystem::path::value_type>& quoted,
const std::filesystem::path& p) { const std::filesystem::path& p) {
write_escaped_string<std::filesystem::path::value_type>( write_escaped_string<std::filesystem::path::value_type>(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment