From 65d1e90aa3b932eefd55f54f3347cb9ae8b0d939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Fri, 20 Sep 2019 21:58:09 +0200 Subject: [PATCH] deleted methods should be public (#2193) --- lib/check.h | 4 ++-- lib/tokenize.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/check.h b/lib/check.h index 0c20ebf1b..e2784f086 100644 --- a/lib/check.h +++ b/lib/check.h @@ -184,12 +184,12 @@ protected: * will call this method */ bool wrongData(const Token *tok, bool condition, const char *str); -private: - const std::string mName; /** disabled assignment operator and copy constructor */ void operator=(const Check &) = delete; Check(const Check &) = delete; +private: + const std::string mName; }; /// @} diff --git a/lib/tokenize.h b/lib/tokenize.h index 504728688..ddffb8a88 100644 --- a/lib/tokenize.h +++ b/lib/tokenize.h @@ -884,13 +884,13 @@ public: void calculateScopes(); -private: /** Disable copy constructor */ Tokenizer(const Tokenizer &) = delete; /** Disable assignment operator */ Tokenizer &operator=(const Tokenizer &) = delete; +private: Token *processFunc(Token *tok2, bool inOperator) const; /**