]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Removed unnecessary cleanup in subscriptor dtor/move ctor 2442/head
authordanshapero <shapero.daniel@gmail.com>
Wed, 6 Apr 2016 21:39:30 +0000 (14:39 -0700)
committerdanshapero <shapero.daniel@gmail.com>
Wed, 6 Apr 2016 21:39:30 +0000 (14:39 -0700)
source/base/subscriptor.cc

index 8711270c9fb6e681f51f553aea595644bdc4d72b..6fc9dde29d394ea31c7dbb6cb078a156ab9c9983 100644 (file)
@@ -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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.