[flang] Delete the default copy constructor for Scope.

Original-commit: flang-compiler/f18@e8e3e5fd46
Reviewed-on: https://github.com/flang-compiler/f18/pull/413
This commit is contained in:
peter klausler 2019-04-15 10:12:26 -07:00
parent 9a9c2dfa21
commit 73bcc7a7cd
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ public:
symbol->set_scope(this); symbol->set_scope(this);
} }
} }
Scope(const Scope &) = delete;
bool operator==(const Scope &that) const { return this == &that; } bool operator==(const Scope &that) const { return this == &that; }
bool operator!=(const Scope &that) const { return this != &that; } bool operator!=(const Scope &that) const { return this != &that; }