deleted methods should be public (#2193)

This commit is contained in:
Oliver Stöneberg 2019-09-20 21:58:09 +02:00 committed by Daniel Marjamäki
parent b5c598cca4
commit 65d1e90aa3
2 changed files with 3 additions and 3 deletions

View File

@ -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;
};
/// @}

View File

@ -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;
/**