c++: use modern idioms to make classes non-copyable

Reported by Don Macpherson.
https://lists.gnu.org/r/bug-bison/2019-05/msg00015.html
https://github.com/akimd/bison/issues/36

* data/skeletons/lalr1.cc, data/skeletons/stack.hh,
* data/skeletons/variant.hh: Delete the copy-ctor and the copy operator.
This commit is contained in:
Akim Demaille
2020-05-01 06:52:04 +02:00
parent fb1d76d9a9
commit 30357ae942
4 changed files with 37 additions and 5 deletions
+1
View File
@@ -57,6 +57,7 @@ Derek M. Jones [email protected]
Di-an Jan [email protected]
Dick Streefland [email protected]
Didier Godefroy [email protected]
Don Macpherson [email protected]
Efi Fogel [email protected]
Enrico Scholz [email protected]
Eric Blake [email protected]