From 60e87889d6438e386acf58c3967fb874af9aae82 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 5 Jan 2020 21:22:02 -0500 Subject: 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. --- src/CaseConvert.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/CaseConvert.cxx') diff --git a/src/CaseConvert.cxx b/src/CaseConvert.cxx index ed94a67f1..dd8a25aa1 100644 --- a/src/CaseConvert.cxx +++ b/src/CaseConvert.cxx @@ -19,6 +19,8 @@ #include "CaseConvert.h" #include "UniConversion.h" +#include "Compat.h" + using namespace Scintilla; namespace { @@ -692,7 +694,7 @@ void AddSymmetric(enum CaseConversion conversion, int lower,int upper) { void SetupConversions(enum CaseConversion conversion) { // First initialize for the symmetric ranges - for (size_t i=0; i