mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
The purpose of the copy assignment operator is to copy the object, so we should not complain that a copy happens when passing the parameter. See https://en.wikibooks.org/wiki/More_C++_Idioms/Copy-and-swap for details.