fix: fix relwithdebinfo build error

(cherry picked from commit 2650af0c750db7c6a01ccdfcce9256fdb7fe1168)
This commit is contained in:
zzyyyl
2022-09-10 22:48:52 +08:00
parent ea4008594b
commit e083eb99c7

View File

@@ -164,7 +164,7 @@ namespace asst
s << utils::path_to_utf8_string(std::forward<T>(v));
return s;
}
if constexpr (std::convertible_to<T, std::string_view>) {
else if constexpr (std::convertible_to<T, std::string_view>) {
if constexpr (ToAnsi)
s << utils::utf8_to_ansi(std::forward<T>(v));
else