From a039c8ad36779903571419cb06cd052f8fc41512 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Mar 2022 17:40:04 +0200 Subject: refactor: use trailing return types --- src/conversion.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conversion.hpp') diff --git a/src/conversion.hpp b/src/conversion.hpp index 9f6f933..f0bbc04 100644 --- a/src/conversion.hpp +++ b/src/conversion.hpp @@ -29,4 +29,4 @@ static constexpr auto IS_UINT_IN_RANGE = ctll::fixed_string("^[0-9]{1,19}$"); * @param str A string that possibly is a unsigned integer * @returns A conversion result */ -ConversionResult str_to_uint(const std::string_view &str) noexcept; +auto str_to_uint(const std::string_view &str) noexcept -> ConversionResult; -- cgit v1.2.3-18-g5258