From 775d998235e2af600c5ba8f6ee2b43a5edcfdda8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Mon, 12 Dec 2016 23:08:22 +0100 Subject: [PATCH] don't be so strict with deprecated --- libsrc/meshing/meshclass.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libsrc/meshing/meshclass.hpp b/libsrc/meshing/meshclass.hpp index 2fe0d45d..4ca5b648 100644 --- a/libsrc/meshing/meshclass.hpp +++ b/libsrc/meshing/meshclass.hpp @@ -244,9 +244,9 @@ namespace netgen */ int GetNSeg () const { return segments.Size(); } - [[deprecated("Use LineSegment(SegmentIndex) instead of int !")]] + // [[deprecated("Use LineSegment(SegmentIndex) instead of int !")]] Segment & LineSegment(int i) { return segments.Elem(i); } - [[deprecated("Use LineSegment(SegmentIndex) instead of int !")]] + // [[deprecated("Use LineSegment(SegmentIndex) instead of int !")]] const Segment & LineSegment(int i) const { return segments.Get(i); } Segment & LineSegment(SegmentIndex si) { return segments[si]; } @@ -261,7 +261,7 @@ namespace netgen DLL_HEADER SurfaceElementIndex AddSurfaceElement (const Element2d & el); - [[deprecated("Use DeleteSurfaceElement(SurfaceElementIndex) instead of int !")]] + // [[deprecated("Use DeleteSurfaceElement(SurfaceElementIndex) instead of int !")]] void DeleteSurfaceElement (int eli) { surfelements.Elem(eli).Delete(); @@ -280,9 +280,9 @@ namespace netgen int GetNSE () const { return surfelements.Size(); } - [[deprecated("Use SurfaceElement(SurfaceElementIndex) instead of int !")]] + // [[deprecated("Use SurfaceElement(SurfaceElementIndex) instead of int !")]] Element2d & SurfaceElement(int i) { return surfelements.Elem(i); } - [[deprecated("Use SurfaceElement(SurfaceElementIndex) instead of int !")]] + // [[deprecated("Use SurfaceElement(SurfaceElementIndex) instead of int !")]] const Element2d & SurfaceElement(int i) const { return surfelements.Get(i); } Element2d & SurfaceElement(SurfaceElementIndex i) { return surfelements[i]; } const Element2d & SurfaceElement(SurfaceElementIndex i) const { return surfelements[i]; }