Skip to content

Commit 452c262

Browse files
committed
Add std namespace missing from one bind call
This fixes the FreeBSD / Clang build.
1 parent 16043f0 commit 452c262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/log/etcd_consistent_store-inl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,8 +860,8 @@ void EtcdConsistentStore<Logged>::StartEtcdStatsFetch() {
860860
}
861861
EtcdClient::StatsResponse* response(new EtcdClient::StatsResponse);
862862
util::Task* stats_task(etcd_stats_task_.task()->AddChild(
863-
bind(&EtcdConsistentStore<Logged>::EtcdStatsFetchDone, this, response,
864-
std::placeholders::_1)));
863+
std::bind(&EtcdConsistentStore<Logged>::EtcdStatsFetchDone, this,
864+
response, std::placeholders::_1)));
865865
client_->GetStoreStats(response, stats_task);
866866
}
867867

0 commit comments

Comments
 (0)