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 /cocoa | |
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 'cocoa')
-rw-r--r-- | cocoa/PlatCocoa.mm | 1 | ||||
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 1 | ||||
-rw-r--r-- | cocoa/ScintillaView.mm | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index a13c2eac0..f2eee85c8 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -23,6 +23,7 @@ #include <string_view> #include <vector> #include <map> +#include <optional> #include <functional> #include <memory> #include <numeric> diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 72516be5c..b4e9375c2 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -18,6 +18,7 @@ #include <string_view> #include <vector> +#include <optional> #import <Cocoa/Cocoa.h> #if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5 diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index ab5d0eee4..e5b3a2e7b 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -14,6 +14,7 @@ #include <string_view> #include <vector> +#include <optional> #import "Debugging.h" #import "Geometry.h" |