From 4fa6821e0645ff61a9380cd090abff472205c630 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sun, 29 Jun 2025 17:16:22 +0100 Subject: add clang-tidy support --- nihil.ucl/real.ccm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nihil.ucl/real.ccm') diff --git a/nihil.ucl/real.ccm b/nihil.ucl/real.ccm index c491553..f425a9a 100644 --- a/nihil.ucl/real.ccm +++ b/nihil.ucl/real.ccm @@ -78,7 +78,7 @@ export constexpr auto operator""_ucl (long double d) -> real d < static_cast(std::numeric_limits::min())) throw std::out_of_range("literal out of range"); - return real(d); + return real(static_cast(d)); } } // namespace nihil::ucl::literals -- cgit v1.2.3