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. --- test/unit/testRunStyles.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit/testRunStyles.cxx') diff --git a/test/unit/testRunStyles.cxx b/test/unit/testRunStyles.cxx index 43d9d5b0f..92e6b9ae8 100644 --- a/test/unit/testRunStyles.cxx +++ b/test/unit/testRunStyles.cxx @@ -21,11 +21,11 @@ #include "catch.hpp" -using namespace Scintilla; +using namespace Scintilla::Internal; // Test RunStyles. -namespace Scintilla { // Xcode clang 9.0 doesn't like this when in the unnamed namespace +namespace Scintilla::Internal { // Xcode clang 9.0 doesn't like this when in the unnamed namespace bool operator==(const FillResult &fra, const FillResult &frb) { return fra.changed == frb.changed && fra.position == frb.position && -- cgit v1.2.3