core: Remove copy assignment operator from CoreIdentity
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 30 Aug 2019 19:43:21 +0000 (21:43 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 30 Aug 2019 22:34:29 +0000 (00:34 +0200)
commita9a4e326891d0d62ef2d2cd8001ebee1e54d3fd6
tree0e73a5edb171958f1fc6b8c724af76b2fcb28a76
parent6e3574a163f07c28d44276318f2d9f92e169f491
core: Remove copy assignment operator from CoreIdentity

The operator is no longer needed due to the switch from QList
to std::vector that was done in the previous commit.

This avoids a warning in GCC 9:

    src/core/coreidentity.cpp: In member function ‘CoreIdentity& CoreIdentity::operator=(const CoreIdentity&)’:
    src/core/coreidentity.cpp:91:23: warning: implicitly-declared ‘Identity& Identity::operator=(const Identity&)’ is deprecated [-Wdeprecated-copy]

The warning is caused by relying on the implicit copy assignment
operator in the base class, which is no longer required by the
standard since C++11, and may be removed in the future.
src/core/coreidentity.cpp
src/core/coreidentity.h