diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-14 18:02:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:56 +0200 |
commit | dc6222611ad14a33f642396558ba84ecba9d6605 (patch) | |
tree | d759020233b66be62c5539209a03842d283b67a9 /src/conversion.cpp | |
parent | dbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff) |
perf: add noexcept almost everywhere
Diffstat (limited to 'src/conversion.cpp')
-rw-r--r-- | src/conversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conversion.cpp b/src/conversion.cpp index 26f2db2..4dbf651 100644 --- a/src/conversion.cpp +++ b/src/conversion.cpp @@ -3,7 +3,7 @@ #include <climits> #include <stdexcept> -ConversionResult<uint32_t> str_to_uint(const std::string_view &str) +ConversionResult<uint32_t> str_to_uint(const std::string_view &str) noexcept { if (!ctre::match<IS_VALID_UINT>(str)) { |