Seems boost also includes all std headers. Not including boost therefore produces errors.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34260 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2010-04-22 11:45:34 +00:00
parent c9b9748cee
commit 21514ad512
7 changed files with 9 additions and 3 deletions

View File

@ -36,7 +36,7 @@
#include <algorithm>
#include <functional>
#include <iterator>
using namespace std;

View File

@ -54,6 +54,7 @@
#include <sstream>
#include <limits>
#include <map>
#include <algorithm>
using namespace std;

View File

@ -25,6 +25,8 @@
#include "support/os.h"
#include "support/Systemcall.h"
#include <algorithm>
// FIXME: Q_WS_MACX is not available, it's in Qt
#ifdef USE_MACOSX_PACKAGING
#include "support/linkback/LinkBackProxy.h"

View File

@ -22,6 +22,7 @@
#include <sstream>
#include <string>
#include <algorithm>
using namespace std;
using namespace lyx::support;

View File

@ -313,7 +313,7 @@ GuiCommandBuffer::completions(string const & prefix, string & new_prefix)
{
vector<string> comp;
copy_if(commands_.begin(), commands_.end(),
lyx::copy_if(commands_.begin(), commands_.end(),
back_inserter(comp), prefix_p(prefix));
if (comp.empty()) {
@ -333,7 +333,7 @@ GuiCommandBuffer::completions(string const & prefix, string & new_prefix)
test += tmp[test.length()];
while (test.length() < tmp.length()) {
vector<string> vtmp;
copy_if(comp.begin(), comp.end(),
lyx::copy_if(comp.begin(), comp.end(),
back_inserter(vtmp), prefix_p(test));
if (vtmp.size() != comp.size()) {
test.erase(test.length() - 1);

View File

@ -36,6 +36,7 @@
#include "frontends/alert.h"
#include <ostream>
#include <algorithm>
using namespace std;
using namespace lyx::support;

View File

@ -61,6 +61,7 @@
#include "support/bind.h"
#include "support/lassert.h"
#include <algorithm>
using namespace std;