From f06a985adff1ec54e7a6c3753d8dfd077b5dd37d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 23:01:06 +0300 Subject: Add checks for A_DEFAULT_COPY / A_DELETE_COPY. Also fix error in detection for final/notfinal classes. --- src/stringutils.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/stringutils.h') diff --git a/src/stringutils.h b/src/stringutils.h index 3cbcdb9..c34b8c7 100644 --- a/src/stringutils.h +++ b/src/stringutils.h @@ -25,9 +25,11 @@ #include "stringvector.h" +#include #include #include #include +#include #include "localconsts.h" @@ -237,7 +239,12 @@ bool isDigit(const std::string &str); void secureChatCommand(std::string &str); -bool isMatch(const std::string &str, const std::string &exp); +bool isMatch(const std::string &str, + const std::string &exp); + +bool isMatch(const std::string &str, + const std::string &exp, + std::smatch &m); bool fileExists(const std::string &name); -- cgit v1.2.3-60-g2f50