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:36:19 +02:00
parent fb1d76d9a9
commit 30357ae942
4 changed files with 37 additions and 5 deletions

1
THANKS
View File

@@ -57,6 +57,7 @@ Derek M. Jones derek@knosof.co.uk
Di-an Jan dianj@freeshell.org
Dick Streefland dick.streefland@altium.nl
Didier Godefroy dg@ulysium.net
Don Macpherson donmac703@gmail.com
Efi Fogel efifogel@gmail.com
Enrico Scholz enrico.scholz@informatik.tu-chemnitz.de
Eric Blake ebb9@byu.net