From: Otto Moerbeek Date: Mon, 7 Oct 2019 12:17:36 +0000 (+0200) Subject: And declare assignment operator deleted X-Git-Tag: dnsdist-1.4.0-rc4~39^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8351%2Fhead;p=thirdparty%2Fpdns.git And declare assignment operator deleted --- diff --git a/pdns/statbag.hh b/pdns/statbag.hh index d593886eac..1ac49f53fe 100644 --- a/pdns/statbag.hh +++ b/pdns/statbag.hh @@ -41,6 +41,7 @@ public: StatRing(unsigned int size=10000); // Some older C++ libs have trouble emplacing without a copy-contructor, so provide one StatRing(const StatRing &); + StatRing & operator=(const StatRing &) = delete; void account(const T &item);