* conversion operator.
*/
virtual
- operator const typename Triangulation<dim,spacedim>::cell_iterator () const = 0;
+ operator typename Triangulation<dim,spacedim>::cell_iterator () const = 0;
/**
* Return the number of
* conversion operator.
*/
virtual
- operator const typename Triangulation<dim,spacedim>::cell_iterator () const;
+ operator typename Triangulation<dim,spacedim>::cell_iterator () const;
/**
* Return the number of
* from and to the same time.
*/
virtual
- operator const typename Triangulation<dim,spacedim>::cell_iterator () const;
+ operator typename Triangulation<dim,spacedim>::cell_iterator () const;
/**
* Implement the respective
template <int dim, int spacedim>
template <typename CI>
FEValuesBase<dim,spacedim>::CellIterator<CI>::
-operator const typename Triangulation<dim,spacedim>::cell_iterator () const
+operator typename Triangulation<dim,spacedim>::cell_iterator () const
{
return cell;
}
template <int dim, int spacedim>
FEValuesBase<dim,spacedim>::TriaCellIterator::
-operator const typename Triangulation<dim,spacedim>::cell_iterator () const
+operator typename Triangulation<dim,spacedim>::cell_iterator () const
{
return cell;
}
mapping_data=0;
delete tmp1;
}
-
+
tria_listener.disconnect ();
}
if (present_cell.get() != 0)
{
if (&cell->get_triangulation() !=
- &static_cast<const typename Triangulation<dim,spacedim>::cell_iterator>(*present_cell)
+ &static_cast<typename Triangulation<dim,spacedim>::cell_iterator>(*present_cell)
->get_triangulation())
{
// the triangulations for the previous cell and the current cell
// triangulations
tria_listener.disconnect ();
invalidate_present_cell();
- tria_listener =
+ tria_listener =
cell->get_triangulation().signals.any_change.connect
(std_cxx1x::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
std_cxx1x::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));
// if this FEValues has never been set to any cell at all, then
// at least subscribe to the triangulation to get notified of
// changes
- tria_listener =
+ tria_listener =
cell->get_triangulation().signals.post_refinement.connect
(std_cxx1x::bind (&FEValuesBase<dim,spacedim>::invalidate_present_cell,
std_cxx1x::ref(static_cast<FEValuesBase<dim,spacedim>&>(*this))));