This would mess up reference counting and should not be allowed (it could be implemented correctly, but it would not be efficient and we do not need it). Gbp-Dch: ignore
@@ -93,6 +93,11 @@ class APT_HIDDEN pkgCacheGenerator /*{{{*/
~Dynamic() {
toReMap.pop_back();
}
+
+#if __cplusplus >= 201103L
+ Dynamic(const Dynamic&) = delete;
+ void operator=(const Dynamic&) = delete;
+#endif
};
protected: