Code cleanup, use '= delete'
This commit is contained in:
parent
02c8a1d61c
commit
c2c43ce8a7
|
@ -185,8 +185,8 @@ private:
|
|||
const std::string _name;
|
||||
|
||||
/** disabled assignment operator and copy constructor */
|
||||
void operator=(const Check &);
|
||||
Check(const Check &);
|
||||
void operator=(const Check &) = delete;
|
||||
Check(const Check &) = delete;
|
||||
};
|
||||
|
||||
/// @}
|
||||
|
|
|
@ -817,11 +817,11 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
/** Disable copy constructor, no implementation */
|
||||
Tokenizer(const Tokenizer &);
|
||||
/** Disable copy constructor */
|
||||
Tokenizer(const Tokenizer &) = delete;
|
||||
|
||||
/** Disable assignment operator, no implementation */
|
||||
Tokenizer &operator=(const Tokenizer &);
|
||||
/** Disable assignment operator */
|
||||
Tokenizer &operator=(const Tokenizer &) = delete;
|
||||
|
||||
Token *processFunc(Token *tok2, bool inOperator) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue