From 87729945e7d80cf45f4d1277d99a83d3f55f2df5 Mon Sep 17 00:00:00 2001 From: danshapero Date: Wed, 6 Apr 2016 14:39:30 -0700 Subject: [PATCH] Removed unnecessary cleanup in subscriptor dtor/move ctor --- source/base/subscriptor.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/base/subscriptor.cc b/source/base/subscriptor.cc index 8711270c9f..6fc9dde29d 100644 --- a/source/base/subscriptor.cc +++ b/source/base/subscriptor.cc @@ -70,8 +70,6 @@ Subscriptor::Subscriptor (Subscriptor &&subscriptor) object_info (subscriptor.object_info) { subscriptor.check_no_subscribers(); - subscriptor.counter = 0; - subscriptor.counter_map.clear(); } #endif @@ -80,8 +78,6 @@ Subscriptor::Subscriptor (Subscriptor &&subscriptor) Subscriptor::~Subscriptor () { check_no_subscribers(); - counter = 0; - counter_map.clear(); #ifdef DEAL_II_WITH_CXX11 object_info = nullptr; -- 2.39.5