Salome HOME
Copyright update 2021
[modules/smesh.git] / src / MEDWrapper / MED_Utilities.cxx
index 97c48e3ee3cfd9d1e85df846be0ca7754c4c1107..2db125dd54175ca49af3295f696f549c7e52ea08 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -26,7 +26,7 @@
 #ifdef _DEBUG_
 static int MYDEBUG = 0;
 #else
-static int MYDEBUG = 0;
+//static int MYDEBUG = 0; // unused in release mode
 #endif
 
 int MED::PrefixPrinter::myCounter = 0;
@@ -39,7 +39,7 @@ MED::PrefixPrinter::PrefixPrinter(bool theIsActive):
   MSG(MYDEBUG,"MED::PrefixPrinter::PrefixPrinter(...)- "<<myCounter);
 }
 
-MED::PrefixPrinter::~PrefixPrinter()
+MED::PrefixPrinter::~PrefixPrinter() noexcept(false)
 {
   if(myIsActive){
     myCounter--;