1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

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> template <char... Cs>
constexpr uint128_t operator"" _xxl() constexpr uint128_t operator""_xxl()
{ {
return LitEval<Cs...>::eval(); return LitEval<Cs...>::eval();
} }
} // namespace detail_xxl } // namespace detail_xxl
template <char... Cs> 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 namespace datatypes

View File

@@ -62,8 +62,7 @@ class CGroupConfigurator
bool cGroupDefined; bool cGroupDefined;
config::Config* config; config::Config* config;
uint64_t totalMemory = 0; 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; bool printedWarning = false;
enum CGroupVersions cGroupVersion_; enum CGroupVersions cGroupVersion_;
unsigned int logCounter = 0; unsigned int logCounter = 0;