]> git.lyx.org Git - features.git/commitdiff
Inset files: add includes to compile with cxx11
authorUwe Stöhr <uwestoehr@lyx.org>
Thu, 10 Dec 2015 00:15:16 +0000 (01:15 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Thu, 10 Dec 2015 00:15:16 +0000 (01:15 +0100)
see the list thread "Re: use FindCXX11Compiler.cmake also for MSVC"

src/insets/InsetCommandParams.cpp
src/mathed/InsetMathBox.cpp
src/mathed/InsetMathDelim.cpp
src/mathed/InsetMathPhantom.cpp
src/mathed/InsetMathXArrow.cpp
src/tex2lyx/table.cpp

index 3a8e6427c576ff4c27238820344d3d570688734e..931e1bb09376111ee656618b3956beffb678d170 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <config.h>
 #include <algorithm>
+#include <functional>
+
 
 #include "InsetCommandParams.h"
 
index 509977b2fbd10ae12a929b6c3795c2e9b2a4b6f2..aee9381cd79ff1bcd852e3041f3d0aa6a7514294 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "frontends/Painter.h"
 
+#include <algorithm>
 #include <ostream>
 
 using namespace lyx::support;
index 3671606e9f001bdb49413b4aa4e6892797520585..8e8b6e295bad9672f493a258cf16e206fa77a5ed 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "frontends/FontMetrics.h"
 
+#include <algorithm>
+
 using namespace std;
 
 namespace lyx {
index 9d6295bb060ccff99a56e3730571021b72b146b5..9b1c80ad3287129b00e1a4f24859bf6959bf3eba 100644 (file)
@@ -16,6 +16,7 @@
 #include "MathStream.h"
 #include "frontends/Painter.h"
 
+#include <algorithm>
 #include <ostream>
 
 namespace lyx {
index 9e3c91d003d2a89d86625e0d911bc380e1573246..8c8a4970bcd5307d22a6eea03bcf08a629e1da87 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "LaTeXFeatures.h"
 
+#include <algorithm>
+
 using namespace std;
 
 namespace lyx {
index ad0331b5233a128be7ef5d8e32b7ef44ad57c563..3cce03df4308561040fb9a1b93018fa64fbfb2ff 100644 (file)
@@ -22,6 +22,7 @@
 #include "support/convert.h"
 #include "support/lstrings.h"
 
+#include <algorithm>
 #include <iostream>
 #include <sstream>
 #include <vector>