From 3cba709128fc153533e029226b3f09b1ae7ac18e Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Mon, 2 Nov 2026 11:05:18 +0800 Subject: [libbase] Rename public namespace and unreachable symbols --- libbase/include/core/math/MathExtras.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbase/include/core/math/MathExtras.h') diff --git a/libbase/include/core/math/MathExtras.h b/libbase/include/core/math/MathExtras.h index 880ba74..732f82c 100644 --- a/libbase/include/core/math/MathExtras.h +++ b/libbase/include/core/math/MathExtras.h @@ -45,7 +45,7 @@ #include #include -namespace rcc +namespace libbase { /// Some template parameter helpers to optimize for bitwidth, for functions that /// take multiple arguments. @@ -432,7 +432,7 @@ template constexpr size_t ConstantLog2 () { - static_assert (rcc::isPowerOf2_64 (kValue), + static_assert (libbase::isPowerOf2_64 (kValue), "Value is not a valid power of 2"); return std::countr_zero (kValue); } @@ -1045,6 +1045,6 @@ using stack_float_t = float; LIBBASE_ABI int NumDigitsBase10 (uint64_t X); -} // namespace rcc +} // namespace libbase #endif -- cgit v1.2.3