changed bind to boost::bind

release/4.3a0
balderdash-devil 2015-01-13 19:23:52 -05:00
parent 9c4942021a
commit 69deb225b8
1 changed files with 4 additions and 4 deletions

View File

@ -110,16 +110,16 @@ bool LabeledSymbol::operator!=(gtsam::Key comp) const {
static LabeledSymbol make(gtsam::Key key) { return LabeledSymbol(key);}
boost::function<bool(gtsam::Key)> LabeledSymbol::TypeTest(unsigned char c) {
return bind(&LabeledSymbol::chr, bind(make, _1)) == c;
return boost::bind(&LabeledSymbol::chr, boost::bind(make, _1)) == c;
}
boost::function<bool(gtsam::Key)> LabeledSymbol::LabelTest(unsigned char label) {
return bind(&LabeledSymbol::label, bind(make, _1)) == label;
return boost::bind(&LabeledSymbol::label, boost::bind(make, _1)) == label;
}
boost::function<bool(gtsam::Key)> LabeledSymbol::TypeLabelTest(unsigned char c, unsigned char label) {
return bind(&LabeledSymbol::chr, bind(make, _1)) == c &&
bind(&LabeledSymbol::label, bind(make, _1)) == label;
return boost::bind(&LabeledSymbol::chr, boost::bind(make, _1)) == c &&
boost::bind(&LabeledSymbol::label, boost::bind(make, _1)) == label;
}
/* ************************************************************************* */