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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user