1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +03:00

Fixed compilation for gcc 4.4

This commit is contained in:
Teemu Ollakka
2019-09-19 10:02:58 +03:00
parent 043ff7a7e9
commit 3fd20c4e4d

View File

@ -782,13 +782,13 @@ void wsrep::client_state::debug_log_state(const char* context) const
void wsrep::client_state::debug_log_keys(const wsrep::key_array& keys) const
{
for (const auto& k : keys)
for (size_t i(0); i < keys.size(); ++i)
{
WSREP_LOG_DEBUG(debug_log_level(),
wsrep::log::debug_level_client_state,
"TOI keys: "
<< " id: " << id_
<< "key: " << k);
<< "key: " << keys[i]);
}
}