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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf54d848080a6538d31914d2aebcf1f3c8d86324;p=pdns And declare assignment operator deleted --- diff --git a/pdns/statbag.hh b/pdns/statbag.hh index d593886ea..1ac49f53f 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);