diff --git a/src/Format.cpp b/src/Format.cpp index 2efebdfcb2..b2621309fd 100644 --- a/src/Format.cpp +++ b/src/Format.cpp @@ -30,7 +30,7 @@ using std::string; using std::distance; - +using std::find_if; namespace lyx { diff --git a/src/frontends/controllers/ControlRef.cpp b/src/frontends/controllers/ControlRef.cpp index dc7da17fc7..9dd75ac24d 100644 --- a/src/frontends/controllers/ControlRef.cpp +++ b/src/frontends/controllers/ControlRef.cpp @@ -75,7 +75,7 @@ int ControlRef::getBufferNum() const vector buffers = theBufferList().getFileNames(); string const name = kernel().buffer().fileName(); vector::const_iterator cit = - find(buffers.begin(), buffers.end(), name); + std::find(buffers.begin(), buffers.end(), name); if (cit == buffers.end()) return 0; return int(cit - buffers.begin()); diff --git a/src/frontends/qt4/QGraphics.cpp b/src/frontends/qt4/QGraphics.cpp index 3e6e6bf405..5bf10781de 100644 --- a/src/frontends/qt4/QGraphics.cpp +++ b/src/frontends/qt4/QGraphics.cpp @@ -109,7 +109,7 @@ namespace { // returns the number of the string s in the vector v int getItemNo(vector v, string const & s) { vector::const_iterator cit = - find(v.begin(), v.end(), s); + std::find(v.begin(), v.end(), s); return (cit != v.end()) ? int(cit - v.begin()) : 0; } diff --git a/status.15x b/status.15x index fc10ca578e..dbaa7e59a1 100644 --- a/status.15x +++ b/status.15x @@ -186,7 +186,9 @@ What's new * BUILD/INSTALLATION: -- new script postats.py used to generate translation statistics for the main +- New script postats.py used to generate translation statistics for the main page. - Dutch dictionary now downloads + +- Fix compilation with gcc 4.3 (soon to be released)