1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-06-30 18:01:53 +03:00

Added gcc 10 build into travis configuration, fixed compilation errors.

This commit is contained in:
Teemu Ollakka
2020-04-09 12:08:15 +03:00
parent ae4e58ba03
commit 96cd92164e
2 changed files with 31 additions and 1 deletions

View File

@ -125,7 +125,7 @@ namespace
template <class Key> static inline size_t get_key_index(const Key* key)
{
size_t index(reinterpret_cast<const size_t>(key) - 1);
assert(index >= 0 && index < key_vec.size());
assert(index < key_vec.size());
return index;
}