chore(build): clang-20 warnings fixed

This commit is contained in:
Leonid Fedorov
2025-05-09 23:44:13 +00:00
committed by Leonid Fedorov
parent 16a630f75d
commit 16303bef2b
2 changed files with 4 additions and 5 deletions

View File

@ -100,16 +100,16 @@ struct LitEval<'0', Cs...>
};
template <char... Cs>
constexpr uint128_t operator"" _xxl()
constexpr uint128_t operator""_xxl()
{
return LitEval<Cs...>::eval();
}
} // namespace detail_xxl
template <char... Cs>
constexpr uint128_t operator"" _xxl()
constexpr uint128_t operator""_xxl()
{
return ::detail_xxl::operator"" _xxl<Cs...>();
return ::detail_xxl::operator""_xxl < Cs... > ();
}
namespace datatypes

View File

@ -62,8 +62,7 @@ class CGroupConfigurator
bool cGroupDefined;
config::Config* config;
uint64_t totalMemory = 0;
uint64_t totalSwap = 0;
const uint64_t GIB = 1024ULL * 1024ULL * 1024ULL;
const uint64_t GIB = 1024ULL * 1024ULL * 1024ULL;
bool printedWarning = false;
enum CGroupVersions cGroupVersion_;
unsigned int logCounter = 0;