8000 Used std::bind in watchable_fields.hpp. · jchjava/rethinkdb@834ce97 · GitHub
[go: up one dir, main page]

Skip to content

Commit 834ce97

Browse files
committed
Used std::bind in watchable_fields.hpp.
1 parent 9f9de6d commit 834ce97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/clustering/administration/main/watchable_fields.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2010-2012 RethinkDB, all rights reserved.
1+
// Copyright 2010-2014 RethinkDB, all rights reserved.
22
#ifndef CLUSTERING_ADMINISTRATION_MAIN_WATCHABLE_FIELDS_HPP_
33
#define CLUSTERING_ADMINISTRATION_MAIN_WATCHABLE_FIELDS_HPP_
44

@@ -13,7 +13,7 @@ class field_copier_t {
1313
public:
1414
field_copier_t(inner_t outer_t::*_field, const clone_ptr_t<watchable_t<inner_t> > &_inner, watchable_variable_t<outer_t> *_outer) :
1515
field(_field), inner(_inner), outer(_outer),
16-
subscription(boost::bind(&field_copier_t<inner_t, outer_t>::on_change, this)) {
16+
subscription(std::bind(&field_copier_t<inner_t, outer_t>::on_change, this)) {
1717
typename watchable_t<inner_t>::freeze_t freeze(inner);
1818
subscription.reset(inner, &freeze);
1919
on_change();

0 commit comments

Comments
 (0)
0