diff --git a/preprocessor/ExprNode.cc b/preprocessor/ExprNode.cc index e3a5bad8e..45247ec1b 100644 --- a/preprocessor/ExprNode.cc +++ b/preprocessor/ExprNode.cc @@ -21,15 +21,11 @@ #include #include -// For select1st() -#ifdef __GNUC__ -# include -using namespace __gnu_cxx; -#endif - #include #include +#include + #include "ExprNode.hh" #include "DataTree.hh" #include "ModFile.hh" @@ -110,7 +106,7 @@ ExprNode::collectModelLocalVariables(set &result) const set > symb_ids; collectVariables(eModelLocalVariable, symb_ids); transform(symb_ids.begin(), symb_ids.end(), inserter(result, result.begin()), - select1st >()); + boost::bind(&pair::first,_1)); } void