From f36de4bfadc16de975aef606e601fee5fdf4c9de Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 7 Jun 2015 23:21:34 -0400 Subject: [PATCH] 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. --- source/fe/fe_values.cc | 30 ------------------------------ 1 file changed, 30 deletions(-) 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); -- 2.39.5