Fix ODR violation in ranges.h
This commit is contained in:
parent
1d29a69139
commit
dc683b5271
@ -437,7 +437,7 @@ auto find_escape(const Char* begin, const Char* end)
|
|||||||
return {begin, nullptr, 0};
|
return {begin, nullptr, 0};
|
||||||
}
|
}
|
||||||
|
|
||||||
auto find_escape(const char* begin, const char* end)
|
inline auto find_escape(const char* begin, const char* end)
|
||||||
-> find_escape_result<char> {
|
-> find_escape_result<char> {
|
||||||
if (!is_utf8()) return find_escape<char>(begin, end);
|
if (!is_utf8()) return find_escape<char>(begin, end);
|
||||||
auto result = find_escape_result<char>{end, nullptr, 0};
|
auto result = find_escape_result<char>{end, nullptr, 0};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user