Skip to content

Remove default assignment operators

Simon Praetorius requested to merge issue/remove-several-warnings into master

Summary

Copy-assignment operators can be implicitly generated. If they are defined nevertheless, one has to look closely to understand what is the reason why manually defined instead of automatically created. In the cases in this MR the default would already be optimal. Creating them nevertheless results in compiler warnings.

Merge request reports