diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-29 17:16:22 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-29 17:16:22 +0100 |
| commit | 4fa6821e0645ff61a9380cd090abff472205c630 (patch) | |
| tree | bd95f13b2dc0bd9692681f50c365d2914a520bfe /nihil.ucl/integer.ccm | |
| parent | e5180acf5f2dfac788e8c12886095ed1ac66fae5 (diff) | |
| download | nihil-4fa6821e0645ff61a9380cd090abff472205c630.tar.gz nihil-4fa6821e0645ff61a9380cd090abff472205c630.tar.bz2 | |
add clang-tidy support
Diffstat (limited to 'nihil.ucl/integer.ccm')
| -rw-r--r-- | nihil.ucl/integer.ccm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nihil.ucl/integer.ccm b/nihil.ucl/integer.ccm index 0ea490c..e35a471 100644 --- a/nihil.ucl/integer.ccm +++ b/nihil.ucl/integer.ccm @@ -81,7 +81,7 @@ export constexpr auto operator""_ucl (unsigned long long i) -> integer if (std::cmp_greater(i, std::numeric_limits<std::int64_t>::max())) throw std::out_of_range("literal out of range"); - return integer(i); + return integer(static_cast<std::int64_t>(i)); } } // namespace nihil::ucl::literals |
