aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-03-18 19:04:08 +1100
committerNeil <nyamatongwe@gmail.com>2021-03-18 19:04:08 +1100
commit43c4b61bdd3669c2cc08d50f10401f0b04befcc9 (patch)
treeb4d2bd7cb460527591554481b0898ad67a710b9e /test/unit
parentcb7f77559b1682e7655af5a88b5bbeb63899eca4 (diff)
downloadscintilla-mirror-43c4b61bdd3669c2cc08d50f10401f0b04befcc9.tar.gz
std::optional is a basic vocabulary type that may be used widely so include
almost everywhere.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/UnitTester.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/testPerLine.cxx1
-rw-r--r--test/unit/testRunStyles.cxx1
-rw-r--r--test/unit/testSparseVector.cxx1
-rw-r--r--test/unit/testSplitVector.cxx1
-rw-r--r--test/unit/testUniConversion.cxx1
-rw-r--r--test/unit/unitTest.cxx1
12 files changed, 12 insertions, 0 deletions
diff --git a/test/unit/UnitTester.cxx b/test/unit/UnitTester.cxx
index bd4d611f8..ae2b757db 100644
--- a/test/unit/UnitTester.cxx
+++ b/test/unit/UnitTester.cxx
@@ -10,6 +10,7 @@
#include <string_view>
#include <vector>
+#include <optional>
#include <memory>
#include "Debugging.h"
diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx
index 91844da2d..aeffed850 100644
--- a/test/unit/testCellBuffer.cxx
+++ b/test/unit/testCellBuffer.cxx
@@ -5,6 +5,7 @@
#include <stdexcept>
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx
index 82d2f2a45..c44a7e973 100644
--- a/test/unit/testCharClassify.cxx
+++ b/test/unit/testCharClassify.cxx
@@ -4,6 +4,7 @@
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
#include <iostream>
diff --git a/test/unit/testContractionState.cxx b/test/unit/testContractionState.cxx
index 66caa7927..04346262b 100644
--- a/test/unit/testContractionState.cxx
+++ b/test/unit/testContractionState.cxx
@@ -6,6 +6,7 @@
#include <stdexcept>
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/testDecoration.cxx b/test/unit/testDecoration.cxx
index 29f89d684..0999bdf6b 100644
--- a/test/unit/testDecoration.cxx
+++ b/test/unit/testDecoration.cxx
@@ -6,6 +6,7 @@
#include <stdexcept>
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx
index 41278d65d..6b109c8d3 100644
--- a/test/unit/testPartitioning.cxx
+++ b/test/unit/testPartitioning.cxx
@@ -6,6 +6,7 @@
#include <stdexcept>
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/testPerLine.cxx b/test/unit/testPerLine.cxx
index df262feee..2f5e217dc 100644
--- a/test/unit/testPerLine.cxx
+++ b/test/unit/testPerLine.cxx
@@ -6,6 +6,7 @@
#include <string_view>
#include <vector>
#include <forward_list>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/testRunStyles.cxx b/test/unit/testRunStyles.cxx
index 91ce00a19..b35b19dae 100644
--- a/test/unit/testRunStyles.cxx
+++ b/test/unit/testRunStyles.cxx
@@ -6,6 +6,7 @@
#include <stdexcept>
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/testSparseVector.cxx b/test/unit/testSparseVector.cxx
index 70c47697d..e40649537 100644
--- a/test/unit/testSparseVector.cxx
+++ b/test/unit/testSparseVector.cxx
@@ -7,6 +7,7 @@
#include <stdexcept>
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/testSplitVector.cxx b/test/unit/testSplitVector.cxx
index 341495894..a0f61bbe3 100644
--- a/test/unit/testSplitVector.cxx
+++ b/test/unit/testSplitVector.cxx
@@ -6,6 +6,7 @@
#include <stdexcept>
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/testUniConversion.cxx b/test/unit/testUniConversion.cxx
index 5192fcf62..b1fbe1a26 100644
--- a/test/unit/testUniConversion.cxx
+++ b/test/unit/testUniConversion.cxx
@@ -5,6 +5,7 @@
#include <string>
#include <string_view>
#include <vector>
+#include <optional>
#include <algorithm>
#include <memory>
diff --git a/test/unit/unitTest.cxx b/test/unit/unitTest.cxx
index 665bfb4da..31b5716ed 100644
--- a/test/unit/unitTest.cxx
+++ b/test/unit/unitTest.cxx
@@ -36,6 +36,7 @@
#include <string_view>
#include <vector>
+#include <optional>
#include <memory>
#include "Debugging.h"