]> granicus.if.org Git - pdns/commitdiff
And declare assignment operator deleted
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 7 Oct 2019 12:17:36 +0000 (14:17 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 7 Oct 2019 12:17:36 +0000 (14:17 +0200)
pdns/statbag.hh

index d593886eac28c79aa44f436f36e189d4e0174796..1ac49f53fe2d738b29b27faa53ca9f3c3199cbe5 100644 (file)
@@ -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);