aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-04-22 08:28:58 +1000
committerNeil <nyamatongwe@gmail.com>2017-04-22 08:28:58 +1000
commitaf243dd42dabdabd15a92a295d66f721e44dd473 (patch)
tree5d55455f18abb19d78113777c4340fc3ed89fee7
parent596e7f91811d9d39853051e0dee691e490ce95e0 (diff)
downloadscintilla-mirror-af243dd42dabdabd15a92a295d66f721e44dd473.tar.gz
Include <memory> for std::unique_ptr.
-rw-r--r--cocoa/PlatCocoa.mm1
-rw-r--r--gtk/PlatGTK.cxx1
-rw-r--r--src/AutoComplete.cxx1
-rw-r--r--src/CellBuffer.cxx1
-rw-r--r--src/ContractionState.cxx1
-rw-r--r--src/Decoration.cxx1
-rw-r--r--src/Indicator.cxx1
-rw-r--r--src/LineMarker.cxx1
-rw-r--r--src/PerLine.cxx1
-rw-r--r--src/RunStyles.cxx1
-rw-r--r--src/XPM.cxx1
-rw-r--r--test/unit/testCellBuffer.cxx1
-rw-r--r--test/unit/testCharClassify.cxx1
-rw-r--r--test/unit/testContractionState.cxx1
-rw-r--r--test/unit/testDecoration.cxx1
-rw-r--r--test/unit/testPartitioning.cxx1
-rw-r--r--test/unit/testRunStyles.cxx1
-rw-r--r--test/unit/testSparseState.cxx1
-rw-r--r--test/unit/testSparseVector.cxx1
-rw-r--r--test/unit/testSplitVector.cxx1
-rw-r--r--win32/PlatWin.cxx1
21 files changed, 21 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index b989857f5..8f26420a1 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -23,6 +23,7 @@
#include <stdexcept>
#include <vector>
#include <map>
+#include <memory>
#import <Foundation/NSGeometry.h>
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 8b0c997da..ee001cde4 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -12,6 +12,7 @@
#include <string>
#include <vector>
#include <map>
+#include <memory>
#include <sstream>
#include <glib.h>
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx
index 1cbc68c3a..cc4b46dfa 100644
--- a/src/AutoComplete.cxx
+++ b/src/AutoComplete.cxx
@@ -14,6 +14,7 @@
#include <string>
#include <vector>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 290478c10..ba39e4a80 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -13,6 +13,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx
index 03e363941..616f6bb87 100644
--- a/src/ContractionState.cxx
+++ b/src/ContractionState.cxx
@@ -11,6 +11,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/src/Decoration.cxx b/src/Decoration.cxx
index a415711ed..2a6060c52 100644
--- a/src/Decoration.cxx
+++ b/src/Decoration.cxx
@@ -12,6 +12,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/src/Indicator.cxx b/src/Indicator.cxx
index 18ae0f2c8..16fc5912d 100644
--- a/src/Indicator.cxx
+++ b/src/Indicator.cxx
@@ -8,6 +8,7 @@
#include <stdexcept>
#include <vector>
#include <map>
+#include <memory>
#include "Platform.h"
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx
index e2de5d97e..6bb9f4e9a 100644
--- a/src/LineMarker.cxx
+++ b/src/LineMarker.cxx
@@ -11,6 +11,7 @@
#include <stdexcept>
#include <vector>
#include <map>
+#include <memory>
#include "Platform.h"
diff --git a/src/PerLine.cxx b/src/PerLine.cxx
index d03723c1b..9634722e2 100644
--- a/src/PerLine.cxx
+++ b/src/PerLine.cxx
@@ -11,6 +11,7 @@
#include <stdexcept>
#include <vector>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/src/RunStyles.cxx b/src/RunStyles.cxx
index 01eab156a..3e611bc92 100644
--- a/src/RunStyles.cxx
+++ b/src/RunStyles.cxx
@@ -12,6 +12,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/src/XPM.cxx b/src/XPM.cxx
index c3b36c7ff..6e328ae97 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -11,6 +11,7 @@
#include <stdexcept>
#include <vector>
#include <map>
+#include <memory>
#include "Platform.h"
diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx
index 7a13e88b8..f6cdf770d 100644
--- a/test/unit/testCellBuffer.cxx
+++ b/test/unit/testCellBuffer.cxx
@@ -3,6 +3,7 @@
#include <cstring>
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx
index b682d8b2d..9b33fbeaf 100644
--- a/test/unit/testCharClassify.cxx
+++ b/test/unit/testCharClassify.cxx
@@ -3,6 +3,7 @@
#include <cstring>
#include <algorithm>
+#include <memory>
#include <iostream>
#include "Platform.h"
diff --git a/test/unit/testContractionState.cxx b/test/unit/testContractionState.cxx
index 3c6f2f669..989aa409d 100644
--- a/test/unit/testContractionState.cxx
+++ b/test/unit/testContractionState.cxx
@@ -4,6 +4,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/test/unit/testDecoration.cxx b/test/unit/testDecoration.cxx
index bbd07b868..9c9532300 100644
--- a/test/unit/testDecoration.cxx
+++ b/test/unit/testDecoration.cxx
@@ -4,6 +4,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx
index 513fa0fea..008c140d8 100644
--- a/test/unit/testPartitioning.cxx
+++ b/test/unit/testPartitioning.cxx
@@ -4,6 +4,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/test/unit/testRunStyles.cxx b/test/unit/testRunStyles.cxx
index 19d784fd9..72840322c 100644
--- a/test/unit/testRunStyles.cxx
+++ b/test/unit/testRunStyles.cxx
@@ -4,6 +4,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/test/unit/testSparseState.cxx b/test/unit/testSparseState.cxx
index 64bdf64a5..1739ac77f 100644
--- a/test/unit/testSparseState.cxx
+++ b/test/unit/testSparseState.cxx
@@ -3,6 +3,7 @@
#include <string>
#include <vector>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/test/unit/testSparseVector.cxx b/test/unit/testSparseVector.cxx
index 8b9c8a140..ad0110ae0 100644
--- a/test/unit/testSparseVector.cxx
+++ b/test/unit/testSparseVector.cxx
@@ -5,6 +5,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/test/unit/testSplitVector.cxx b/test/unit/testSplitVector.cxx
index c58accc84..3af51c45e 100644
--- a/test/unit/testSplitVector.cxx
+++ b/test/unit/testSplitVector.cxx
@@ -4,6 +4,7 @@
#include <stdexcept>
#include <algorithm>
+#include <memory>
#include "Platform.h"
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index b54b11954..31e71988a 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -17,6 +17,7 @@
#include <vector>
#include <map>
+#include <memory>
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0500