From 92290868cf9753d2df0d494cb44e2ff62a570b58 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 24 May 2021 19:31:06 +1000 Subject: Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal. --- src/UniqueString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/UniqueString.h') diff --git a/src/UniqueString.h b/src/UniqueString.h index f7f7ebbdc..83cb69e78 100644 --- a/src/UniqueString.h +++ b/src/UniqueString.h @@ -11,7 +11,7 @@ #ifndef UNIQUESTRING_H #define UNIQUESTRING_H -namespace Scintilla { +namespace Scintilla::Internal { constexpr bool IsNullOrEmpty(const char *text) noexcept { return text == nullptr || *text == '\0'; -- cgit v1.2.3