Mercurial > minori
diff include/core/strings.h @ 178:bc8d2ccff09c
win32/dark: use existing STL classes for dwmapi
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 04 Dec 2023 11:51:30 -0500 |
parents | bc218c9d2ea6 |
children | 7cf53145de11 |
line wrap: on
line diff
--- a/include/core/strings.h Fri Dec 01 13:32:29 2023 -0500 +++ b/include/core/strings.h Mon Dec 04 11:51:30 2023 -0500 @@ -53,7 +53,7 @@ } else if constexpr (std::is_unsigned<T>::value) { return clamp(std::stoull(str), std::numeric_limits<T>::max(), std::numeric_limits<T>::max()); } else { - throw std::invalid_argument("it no worky"); + throw std::invalid_argument("Invalid input to Strings::ToInt()!"); } } catch (std::invalid_argument const& ex) { return def;