diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-18 19:04:08 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-18 19:04:08 +1100 |
commit | 43c4b61bdd3669c2cc08d50f10401f0b04befcc9 (patch) | |
tree | b4d2bd7cb460527591554481b0898ad67a710b9e /src | |
parent | cb7f77559b1682e7655af5a88b5bbeb63899eca4 (diff) | |
download | scintilla-mirror-43c4b61bdd3669c2cc08d50f10401f0b04befcc9.tar.gz |
std::optional is a basic vocabulary type that may be used widely so include
almost everywhere.
Diffstat (limited to 'src')
-rw-r--r-- | src/AutoComplete.cxx | 1 | ||||
-rw-r--r-- | src/CallTip.cxx | 1 | ||||
-rw-r--r-- | src/CellBuffer.cxx | 1 | ||||
-rw-r--r-- | src/ContractionState.cxx | 1 | ||||
-rw-r--r-- | src/Decoration.cxx | 1 | ||||
-rw-r--r-- | src/Document.cxx | 1 | ||||
-rw-r--r-- | src/EditModel.cxx | 1 | ||||
-rw-r--r-- | src/EditView.cxx | 1 | ||||
-rw-r--r-- | src/Editor.cxx | 1 | ||||
-rw-r--r-- | src/Indicator.cxx | 1 | ||||
-rw-r--r-- | src/KeyMap.cxx | 1 | ||||
-rw-r--r-- | src/LineMarker.cxx | 1 | ||||
-rw-r--r-- | src/MarginView.cxx | 1 | ||||
-rw-r--r-- | src/PerLine.cxx | 1 | ||||
-rw-r--r-- | src/PositionCache.cxx | 1 | ||||
-rw-r--r-- | src/RunStyles.cxx | 1 | ||||
-rw-r--r-- | src/ScintillaBase.cxx | 1 | ||||
-rw-r--r-- | src/Selection.cxx | 1 | ||||
-rw-r--r-- | src/Style.cxx | 1 | ||||
-rw-r--r-- | src/ViewStyle.cxx | 1 | ||||
-rw-r--r-- | src/XPM.cxx | 1 |
21 files changed, 21 insertions, 0 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx index b4444ff0c..c3ebd9c46 100644 --- a/src/AutoComplete.cxx +++ b/src/AutoComplete.cxx @@ -15,6 +15,7 @@ #include <string> #include <string_view> #include <vector> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/CallTip.cxx b/src/CallTip.cxx index 418088470..fccf20025 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -16,6 +16,7 @@ #include <string> #include <string_view> #include <vector> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index a13d74ebf..21fbb7003 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -16,6 +16,7 @@ #include <string> #include <string_view> #include <vector> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index af1c88bb7..551879c0c 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -12,6 +12,7 @@ #include <stdexcept> #include <string_view> #include <vector> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/Decoration.cxx b/src/Decoration.cxx index 9a88c03dd..2574854b2 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -13,6 +13,7 @@ #include <stdexcept> #include <string_view> #include <vector> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/Document.cxx b/src/Document.cxx index 564959eb0..5f80ee50b 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -17,6 +17,7 @@ #include <string_view> #include <vector> #include <forward_list> +#include <optional> #include <algorithm> #include <memory> #include <chrono> diff --git a/src/EditModel.cxx b/src/EditModel.cxx index d99c0a88a..a75cd4c41 100644 --- a/src/EditModel.cxx +++ b/src/EditModel.cxx @@ -16,6 +16,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/EditView.cxx b/src/EditView.cxx index b274e02ba..1c6e41096 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -18,6 +18,7 @@ #include <vector> #include <map> #include <forward_list> +#include <optional> #include <algorithm> #include <iterator> #include <memory> diff --git a/src/Editor.cxx b/src/Editor.cxx index a88ec2d1c..54336c19f 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -18,6 +18,7 @@ #include <vector> #include <map> #include <forward_list> +#include <optional> #include <algorithm> #include <iterator> #include <memory> diff --git a/src/Indicator.cxx b/src/Indicator.cxx index 007f30f77..9a182469d 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -11,6 +11,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx index 58099de8c..dbd7d923e 100644 --- a/src/KeyMap.cxx +++ b/src/KeyMap.cxx @@ -11,6 +11,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <memory> #include "Debugging.h" diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index 09fe0e86d..0bafbe75f 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -13,6 +13,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/MarginView.cxx b/src/MarginView.cxx index 1e4144771..c7da7e667 100644 --- a/src/MarginView.cxx +++ b/src/MarginView.cxx @@ -17,6 +17,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/PerLine.cxx b/src/PerLine.cxx index b478c7f07..91621a4b4 100644 --- a/src/PerLine.cxx +++ b/src/PerLine.cxx @@ -13,6 +13,7 @@ #include <string_view> #include <vector> #include <forward_list> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index 8ad940f5a..7801e4fbb 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -15,6 +15,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <algorithm> #include <iterator> #include <memory> diff --git a/src/RunStyles.cxx b/src/RunStyles.cxx index e36d1ff12..11bab25bd 100644 --- a/src/RunStyles.cxx +++ b/src/RunStyles.cxx @@ -15,6 +15,7 @@ #include <stdexcept> #include <string_view> #include <vector> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 91abd0d85..93c41d3d9 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -15,6 +15,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/Selection.cxx b/src/Selection.cxx index 5a5d998c4..cc92ff49b 100644 --- a/src/Selection.cxx +++ b/src/Selection.cxx @@ -11,6 +11,7 @@ #include <stdexcept> #include <string_view> #include <vector> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/Style.cxx b/src/Style.cxx index dfeb5f1b9..fc96cfcfd 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -8,6 +8,7 @@ #include <stdexcept> #include <string_view> #include <vector> +#include <optional> #include <memory> #include "Debugging.h" diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 28a09016b..e30e1fd18 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -13,6 +13,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <algorithm> #include <memory> diff --git a/src/XPM.cxx b/src/XPM.cxx index a789a47d4..cfe6d94af 100644 --- a/src/XPM.cxx +++ b/src/XPM.cxx @@ -12,6 +12,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <algorithm> #include <iterator> #include <memory> |