aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
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 /cocoa/ScintillaCocoa.mm
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 'cocoa/ScintillaCocoa.mm')
-rw-r--r--cocoa/ScintillaCocoa.mm1
1 files changed, 1 insertions, 0 deletions
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