commit 219b5645c23455a5fe26ef5a761363dd6a5942b4
Author: Uwe Stöhr <[email protected]>
Date: Thu Dec 10 01:15:16 2015 +0100
Inset files: add includes to compile with cxx11
see the list thread "Re: use FindCXX11Compiler.cmake also for MSVC"
diff --git a/src/insets/InsetCommandParams.cpp
b/src/insets/InsetCommandParams.cpp
index 3a8e642..931e1bb 100644
--- a/src/insets/InsetCommandParams.cpp
+++ b/src/insets/InsetCommandParams.cpp
@@ -12,6 +12,8 @@
#include <config.h>
#include <algorithm>
+#include <functional>
+
#include "InsetCommandParams.h"
diff --git a/src/mathed/InsetMathBox.cpp b/src/mathed/InsetMathBox.cpp
index 509977b..aee9381 100644
--- a/src/mathed/InsetMathBox.cpp
+++ b/src/mathed/InsetMathBox.cpp
@@ -24,6 +24,7 @@
#include "frontends/Painter.h"
+#include <algorithm>
#include <ostream>
using namespace lyx::support;
diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp
index 3671606..8e8b6e2 100644
--- a/src/mathed/InsetMathDelim.cpp
+++ b/src/mathed/InsetMathDelim.cpp
@@ -25,6 +25,8 @@
#include "frontends/FontMetrics.h"
+#include <algorithm>
+
using namespace std;
namespace lyx {
diff --git a/src/mathed/InsetMathPhantom.cpp b/src/mathed/InsetMathPhantom.cpp
index 9d6295b..9b1c80a 100644
--- a/src/mathed/InsetMathPhantom.cpp
+++ b/src/mathed/InsetMathPhantom.cpp
@@ -16,6 +16,7 @@
#include "MathStream.h"
#include "frontends/Painter.h"
+#include <algorithm>
#include <ostream>
namespace lyx {
diff --git a/src/mathed/InsetMathXArrow.cpp b/src/mathed/InsetMathXArrow.cpp
index 9e3c91d..8c8a497 100644
--- a/src/mathed/InsetMathXArrow.cpp
+++ b/src/mathed/InsetMathXArrow.cpp
@@ -20,6 +20,8 @@
#include "LaTeXFeatures.h"
+#include <algorithm>
+
using namespace std;
namespace lyx {
diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp
index ad0331b..3cce03d 100644
--- a/src/tex2lyx/table.cpp
+++ b/src/tex2lyx/table.cpp
@@ -22,6 +22,7 @@
#include "support/convert.h"
#include "support/lstrings.h"
+#include <algorithm>
#include <iostream>
#include <sstream>
#include <vector>