Files
@ r25524:02dac61ae3ed
Branch filter:
Location: cpp/openttd-patchpack/source/docs/obg_format.txt
r25524:02dac61ae3ed
3.6 KiB
text/plain
Change: mark copy-assignment as deleted for classes with a copy-constructor that is not trivial
This to prevent the default copy-assignment getting used when during the assignment also some other memory needs to be allocated as that would otherwise be freed.
This to prevent the default copy-assignment getting used when during the assignment also some other memory needs to be allocated as that would otherwise be freed.