Add missing deleted operators

This commit is contained in:
Nekotekina 2018-09-22 22:35:52 +03:00
parent a8a8cd88a0
commit a605dd0a3f
5 changed files with 16 additions and 4 deletions

View file

@ -49,9 +49,10 @@ namespace cfg
_base(type _type, class node* owner, const std::string& name);
public:
// Disallow copy/move constructors and assignments
_base(const _base&) = delete;
_base& operator=(const _base&) = delete;
// Get type
type get_type() const { return m_type; }