core: Don't store a reference in CoreCertManager
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 30 Aug 2019 19:48:32 +0000 (21:48 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 30 Aug 2019 22:34:29 +0000 (00:34 +0200)
commitc820e4b0bb1aeab59d65f9024301f468159e2337
tree97bb8f35e47405ba927b0c35ec952f616a5beb07
parenta9a4e326891d0d62ef2d2cd8001ebee1e54d3fd6
core: Don't store a reference in CoreCertManager

Storing references violates all sorts of Best Practices, and also
prevents the compiler from implicitly declaring a copy assignment
operator. Store a pointer instead, and clean up the API a bit.
src/core/coreidentity.cpp
src/core/coreidentity.h