diff options
| author | mitchell <unknown> | 2020-01-05 21:22:02 -0500 |
|---|---|---|
| committer | mitchell <unknown> | 2020-01-05 21:22:02 -0500 |
| commit | 60e87889d6438e386acf58c3967fb874af9aae82 (patch) | |
| tree | 9c5c2660c59aff04ddedea19fa03fd271f8bba5c /src/UniqueString.h | |
| parent | dbb7374c185718655dd77c294eb281e8b93c538e (diff) | |
| download | scintilla-mirror-60e87889d6438e386acf58c3967fb874af9aae82.tar.gz | |
Added Sci::make_unique() and Sci::size() for better compatibility with the default branch.
std::make_unique() is c++14 and std::size() is c++17.
Diffstat (limited to 'src/UniqueString.h')
| -rw-r--r-- | src/UniqueString.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/UniqueString.h b/src/UniqueString.h index 442d17c79..18f17029f 100644 --- a/src/UniqueString.h +++ b/src/UniqueString.h @@ -11,6 +11,8 @@ #ifndef UNIQUESTRING_H #define UNIQUESTRING_H +#include "Compat.h" + namespace Scintilla { constexpr bool IsNullOrEmpty(const char *text) noexcept { |
