Compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3653 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-03-04 10:40:01 +00:00
parent 8f197420a2
commit a4ab05529a
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
* FormDocument.C (build): add a std:: qualifier to remove_if.
2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
* Toolbar_pimpl.[Ch]: layout as string

View File

@ -136,9 +136,9 @@ void FormDocument::build()
}
#else
vector<string>::iterator ret =
remove_if(units_vec.begin(),
units_vec.end(),
bind2nd(contains_functor(), "%"));
std::remove_if(units_vec.begin(),
units_vec.end(),
bind2nd(contains_functor(), "%"));
units_vec.erase(ret, units_vec.end());
#endif
string units = getStringFromVector(units_vec, "|");