mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01: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.