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