mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Change provider_options callback to take a const reference
This commit is contained in:
@ -526,12 +526,13 @@ namespace wsrep
|
||||
* @param provider_options Initial options to provider
|
||||
* @param thread_service Optional thread service implementation.
|
||||
*/
|
||||
static std::unique_ptr<provider> make_provider(
|
||||
wsrep::server_state&,
|
||||
const std::string& provider_spec,
|
||||
const std::function<std::string(provider_options&)>& provider_options_cb,
|
||||
const wsrep::provider::services& services
|
||||
= wsrep::provider::services());
|
||||
static std::unique_ptr<provider>
|
||||
make_provider(wsrep::server_state&, const std::string& provider_spec,
|
||||
const std::function<std::string(const provider_options&)>&
|
||||
provider_options_cb,
|
||||
const wsrep::provider::services& services
|
||||
= wsrep::provider::services());
|
||||
|
||||
protected:
|
||||
wsrep::server_state& server_state_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user