From cf54d848080a6538d31914d2aebcf1f3c8d86324 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 7 Oct 2019 14:17:36 +0200 Subject: [PATCH] And declare assignment operator deleted --- pdns/statbag.hh | 1 + 1 file changed, 1 insertion(+) 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); -- 2.40.0