From: David Wells Date: Mon, 8 Jun 2015 03:21:34 +0000 (-0400) Subject: Delete a redundant comment. X-Git-Tag: v8.3.0-rc1~123^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36de4bfadc16de975aef606e601fee5fdf4c9de;p=dealii.git Delete a redundant comment. The contents of this comment are covered by either std::unique_ptr's documentation or comments around reset_pointer_in_place_if_possible. --- diff --git a/source/fe/fe_values.cc b/source/fe/fe_values.cc index f0eed20193..4bb89384eb 100644 --- a/source/fe/fe_values.cc +++ b/source/fe/fe_values.cc @@ -3466,11 +3466,6 @@ void FEValues::reinit (const typename Triangulation: this->maybe_invalidate_previous_present_cell (cell); this->check_cell_similarity(cell); - // set new cell. auto_ptr will take - // care that old object gets - // destroyed and also that this - // object gets destroyed in the - // destruction of the current object reset_pointer_in_place_if_possible::TriaCellIterator> (this->present_cell, cell); @@ -3501,11 +3496,6 @@ FEValues::reinit (const TriaIterator > &c this->maybe_invalidate_previous_present_cell (cell); this->check_cell_similarity(cell); - // set new cell. auto_ptr will take - // care that old object gets - // destroyed and also that this - // object gets destroyed in the - // destruction of the current object reset_pointer_in_place_if_possible::template CellIterator > > > (this->present_cell, cell); @@ -3678,11 +3668,6 @@ FEFaceValues::reinit (const TriaIterator Assert (face_no < GeometryInfo::faces_per_cell, ExcIndexRange (face_no, 0, GeometryInfo::faces_per_cell)); - // set new cell. auto_ptr will take - // care that old object gets - // destroyed and also that this - // object gets destroyed in the - // destruction of the current object this->maybe_invalidate_previous_present_cell (cell); reset_pointer_in_place_if_possible::template CellIterator > > > (this->present_cell, cell); @@ -3704,11 +3689,6 @@ void FEFaceValues::reinit (const typename Triangulation::faces_per_cell, ExcIndexRange (face_no, 0, GeometryInfo::faces_per_cell)); - // set new cell. auto_ptr will take - // care that old object gets - // destroyed and also that this - // object gets destroyed in the - // destruction of the current object this->maybe_invalidate_previous_present_cell (cell); reset_pointer_in_place_if_possible::TriaCellIterator> (this->present_cell, cell); @@ -3855,11 +3835,6 @@ void FESubfaceValues::reinit (const TriaIteratormaybe_invalidate_previous_present_cell (cell); reset_pointer_in_place_if_possible::template CellIterator > > > (this->present_cell, cell); @@ -3883,11 +3858,6 @@ void FESubfaceValues::reinit (const typename Triangulationface(face_no)->n_children(), ExcIndexRange (subface_no, 0, cell->face(face_no)->n_children())); - // set new cell. auto_ptr will take - // care that old object gets - // destroyed and also that this - // object gets destroyed in the - // destruction of the current object this->maybe_invalidate_previous_present_cell (cell); reset_pointer_in_place_if_possible::TriaCellIterator> (this->present_cell, cell);