From 9d61d8aa6f6d6016e4da8c504159457eea48e515 Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Thu, 9 Mar 2017 21:38:19 +0100
Subject: [PATCH] Re-enable deprecation warnings in volume manager

---
 DDCore/include/DD4hep/objects/VolumeManagerInterna.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/DDCore/include/DD4hep/objects/VolumeManagerInterna.h b/DDCore/include/DD4hep/objects/VolumeManagerInterna.h
index a347e679f..dbe9f9f5c 100644
--- a/DDCore/include/DD4hep/objects/VolumeManagerInterna.h
+++ b/DDCore/include/DD4hep/objects/VolumeManagerInterna.h
@@ -57,17 +57,17 @@ namespace DD4hep {
       //[[gnu::deprecated("This member variable might get axed if it is not used, please tell us if you do")]]
       VolumeID mask;
       /// The placement
-      //[[gnu::deprecated("This member variable might get axed if it is not used, please tell us if you do")]]
+      [[gnu::deprecated("This member variable might get axed if it is not used, please tell us if you do")]]
       PlacedVolume placement;
       /// Handle to the subdetector element handle
-      //[[gnu::deprecated("This member variable might get axed if it is not used, please tell us if you do")]]
+      [[gnu::deprecated("This member variable might get axed if it is not used, please tell us if you do")]]
       DetElement detector;
       /// Handle to the closest Detector element
       DetElement   element;
       /// The transformation of space-points to the world corrdinate system
       TGeoHMatrix  toWorld;
       /// The transformation of space-points to the corrdinate system of the closests detector element
-      //[[gnu::deprecated("This member variable might get axed if it is not used, please tell us if you do")]]
+      [[gnu::deprecated("This member variable might get axed if it is not used, please tell us if you do")]]
       TGeoHMatrix toDetector;
     public:
       /// Default constructor
-- 
GitLab