From d6404fd5af359ab4dfb7d18382ee61f3400b9ac9 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 5 Apr 2018 17:40:04 -0400 Subject: [PATCH] Explicitly deprecate get_boundary. --- include/deal.II/grid/tria_accessor.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/deal.II/grid/tria_accessor.h b/include/deal.II/grid/tria_accessor.h index 112a374e2c..c98b798e35 100644 --- a/include/deal.II/grid/tria_accessor.h +++ b/include/deal.II/grid/tria_accessor.h @@ -1022,8 +1022,11 @@ public: * Return a constant reference to the manifold object used for this object. * This function exists for backward compatibility and calls get_manifold() * internally. + * + * @deprecated The classes derived from Boundary have been deprecated in + * favor of the Manifold classes. */ - const Boundary &get_boundary () const; + DEAL_II_DEPRECATED const Boundary &get_boundary () const; /** * Return a constant reference to the manifold object used for this object. -- 2.39.5