From 605ac8e46a330d1b6c32cd7e978702d083b14ad6 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Wed, 30 Dec 2009 18:58:20 +0000 Subject: [PATCH] Cosmetics: removed unneeded std:: git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32679 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/lyxfind.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index ba28ad4be0..e5bf8b609b 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -952,12 +952,12 @@ bool next_document_buffer(Buffer * & p_buf) { LYXERR(Debug::FIND, "p_old=" << p_old << ", p_master=" << p_master); } while (p_master != p_old); LASSERT(p_master != NULL, /**/); - std::vector v_children; + vector v_children; /* Root master added as first buffer in the vector */ v_children.push_back(p_master); p_master->getChildren(v_children, true); LYXERR(Debug::FIND, "v_children.size()=" << v_children.size()); - std::vector::const_iterator it = std::find(v_children.begin(), v_children.end(), p_buf); + vector::const_iterator it = find(v_children.begin(), v_children.end(), p_buf); LASSERT(it != v_children.end(), /**/) ++it; if (it == v_children.end()) { @@ -986,12 +986,12 @@ bool prev_document_buffer(Buffer * & p_buf) { LYXERR(Debug::FIND, "p_old=" << p_old << ", p_master=" << p_master); } while (p_master != p_old); LASSERT(p_master != NULL, /**/); - std::vector v_children; + vector v_children; /* Root master added as first buffer in the vector */ v_children.push_back(p_master); p_master->getChildren(v_children, true); LYXERR(Debug::FIND, "v_children.size()=" << v_children.size()); - std::vector::const_iterator it = std::find(v_children.begin(), v_children.end(), p_buf); + vector::const_iterator it = find(v_children.begin(), v_children.end(), p_buf); LASSERT(it != v_children.end(), /**/) if (it == v_children.begin()) { it = v_children.end(); -- 2.39.2