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/UniqueString.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/UniqueString.h') 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 { -- cgit v1.2.3