deleted methods should be public (#2193)
This commit is contained in:
parent
b5c598cca4
commit
65d1e90aa3
|
@ -184,12 +184,12 @@ protected:
|
||||||
* will call this method
|
* will call this method
|
||||||
*/
|
*/
|
||||||
bool wrongData(const Token *tok, bool condition, const char *str);
|
bool wrongData(const Token *tok, bool condition, const char *str);
|
||||||
private:
|
|
||||||
const std::string mName;
|
|
||||||
|
|
||||||
/** disabled assignment operator and copy constructor */
|
/** disabled assignment operator and copy constructor */
|
||||||
void operator=(const Check &) = delete;
|
void operator=(const Check &) = delete;
|
||||||
Check(const Check &) = delete;
|
Check(const Check &) = delete;
|
||||||
|
private:
|
||||||
|
const std::string mName;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
|
@ -884,13 +884,13 @@ public:
|
||||||
|
|
||||||
void calculateScopes();
|
void calculateScopes();
|
||||||
|
|
||||||
private:
|
|
||||||
/** Disable copy constructor */
|
/** Disable copy constructor */
|
||||||
Tokenizer(const Tokenizer &) = delete;
|
Tokenizer(const Tokenizer &) = delete;
|
||||||
|
|
||||||
/** Disable assignment operator */
|
/** Disable assignment operator */
|
||||||
Tokenizer &operator=(const Tokenizer &) = delete;
|
Tokenizer &operator=(const Tokenizer &) = delete;
|
||||||
|
|
||||||
|
private:
|
||||||
Token *processFunc(Token *tok2, bool inOperator) const;
|
Token *processFunc(Token *tok2, bool inOperator) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue