diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-06-23 11:03:50 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-06-23 11:03:50 +1000 |
| commit | 4a00a6edead9f35ebc5f538cefc35c778e2dbe49 (patch) | |
| tree | 41433eff8374605168ddb13a88de5f12f05ed613 /src/string_utils.hh | |
| parent | 6493ddad421bf5376165af5c0f5ab6fe31d77035 (diff) | |
Fix trailing whitespaces
Diffstat (limited to 'src/string_utils.hh')
| -rw-r--r-- | src/string_utils.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string_utils.hh b/src/string_utils.hh index 3cd7c825..3034dfd5 100644 --- a/src/string_utils.hh +++ b/src/string_utils.hh @@ -144,10 +144,10 @@ decltype(auto) to_string(const StronglyTypedNumber<RealType, ValueType>& val) namespace detail { -template<typename T> requires std::is_convertible_v<T, StringView> +template<typename T> requires std::is_convertible_v<T, StringView> StringView format_param(const T& val) { return val; } -template<typename T> requires (not std::is_convertible_v<T, StringView>) +template<typename T> requires (not std::is_convertible_v<T, StringView>) decltype(auto) format_param(const T& val) { return to_string(val); } } |
