diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-05-14 13:13:21 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-05-14 13:13:21 +1000 |
| commit | 793a375153519ae45ca8b3c9645fee347160d1a4 (patch) | |
| tree | 048747498474ae954488c7dbc16c3f90bf4aa2b0 /cocoa | |
| parent | 45b004538871dcac7aa6f4a1f62a0fc3e7231693 (diff) | |
| download | scintilla-mirror-793a375153519ae45ca8b3c9645fee347160d1a4.tar.gz | |
Include <string_view> to allow future use in Platform interface and Unicode.
Diffstat (limited to 'cocoa')
| -rw-r--r-- | cocoa/PlatCocoa.mm | 1 | ||||
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 | ||||
| -rw-r--r-- | cocoa/ScintillaView.mm | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 6905a8009..9e0cf81f7 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -19,6 +19,7 @@ #include <cstdio> #include <stdexcept> +#include <string_view> #include <vector> #include <map> #include <memory> diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 1572d53ed..56dc306e8 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -14,6 +14,8 @@ * This file is dual licensed under LGPL v2.1 and the Scintilla license (http://www.scintilla.org/License.txt). */ +#include <string_view> + #import <Cocoa/Cocoa.h> #if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5 #import <QuartzCore/CAGradientLayer.h> diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index aad9b0c9a..b42aeb081 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -9,6 +9,8 @@ * This file is dual licensed under LGPL v2.1 and the Scintilla license (http://www.scintilla.org/License.txt). */ +#include <string_view> + #import "Platform.h" #import "ScintillaView.h" #import "ScintillaCocoa.h" |
