changed bind to boost::bind
parent
9c4942021a
commit
69deb225b8
|
@ -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;
|
||||
}
|
||||
/* ************************************************************************* */
|
||||
|
||||
|
|
Loading…
Reference in New Issue