mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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:
parent
c9b9748cee
commit
21514ad512
@ -36,7 +36,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
#include <iterator>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
@ -54,6 +54,7 @@
|
||||
#include <sstream>
|
||||
#include <limits>
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -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"
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace std;
|
||||
using namespace lyx::support;
|
||||
|
@ -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);
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "frontends/alert.h"
|
||||
|
||||
#include <ostream>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace std;
|
||||
using namespace lyx::support;
|
||||
|
@ -61,6 +61,7 @@
|
||||
#include "support/bind.h"
|
||||
#include "support/lassert.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
Loading…
Reference in New Issue
Block a user