Fixes unused handler parameter error (unused-parameter)

- There was an actual error, handler passed to ctor was omitted
This commit is contained in:
Denis Kalantaevsky 2023-10-03 12:54:35 +02:00
parent 024abf4030
commit 4d5e5777f8
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ etcd::KeepAlive::KeepAlive(
std::function<void(std::exception_ptr)> const& handler, int ttl,
int64_t lease_id, std::string const& target_name_override)
: KeepAlive(SyncClient(address, ca, cert, privkey, target_name_override),
ttl, lease_id) {}
handler, ttl, lease_id) {}
etcd::KeepAlive::KeepAlive(
SyncClient const& client,