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

Pass ws_handle as const reference to provider replay()

This commit is contained in:
Teemu Ollakka
2018-06-19 09:36:15 +03:00
parent d1a1e298e9
commit 0e4c7f16a9
7 changed files with 9 additions and 10 deletions

View File

@ -152,7 +152,8 @@ namespace wsrep
return release_result_;
}
enum wsrep::provider::status replay(wsrep::ws_handle&, void* ctx)
enum wsrep::provider::status replay(const wsrep::ws_handle&,
void* ctx)
{
wsrep::client_state& cc(
*static_cast<wsrep::client_state*>(ctx));