From 3fd20c4e4d326ac2c6d90778aa6b48a9ad3084ce Mon Sep 17 00:00:00 2001 From: Teemu Ollakka Date: Thu, 19 Sep 2019 10:02:58 +0300 Subject: [PATCH] Fixed compilation for gcc 4.4 --- src/client_state.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client_state.cpp b/src/client_state.cpp index c2b22d4..48687d8 100644 --- a/src/client_state.cpp +++ b/src/client_state.cpp @@ -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]); } }