X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferList.cpp;h=17b7aea9fa361129615b74e25178f0c4bfed78c3;hb=1712e4f35e3e8cb132f731dca773f7767a241bf6;hp=f9a89f78b239eea29deb6dcfa79b4f7a48e73a53;hpb=807fc1443a3ac64c24d9bef5428f46f59437b459;p=lyx.git diff --git a/src/BufferList.cpp b/src/BufferList.cpp index f9a89f78b2..17b7aea9fa 100644 --- a/src/BufferList.cpp +++ b/src/BufferList.cpp @@ -255,12 +255,12 @@ Buffer * BufferList::getBuffer(support::FileName const & fname) const { // 1) cheap test, using string comparison of file names BufferStorage::const_iterator it = find_if(bstore.begin(), bstore.end(), - bind(equal_to(), bind(&Buffer::fileName, _1), fname)); + lyx::bind(equal_to(), lyx::bind(&Buffer::fileName, _1), fname)); if (it != bstore.end()) return *it; // 2) possibly expensive test, using equivalence test of file names it = find_if(bstore.begin(), bstore.end(), - bind(equivalent_to(), bind(&Buffer::fileName, _1), fname)); + lyx::bind(equivalent_to(), lyx::bind(&Buffer::fileName, _1), fname)); return it != bstore.end() ? (*it) : 0; }