Salome HOME
#18963 Minimize compiler warnings
[modules/kernel.git] / src / DSC / DSC_Basic / PortProperties_i.cxx
index 08517580b61c4fbf7755cc17e2c0014eedc57481..b9e5dbea70071e34d96fe1cdd65bfa98c51d9808 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  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
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -31,16 +31,14 @@ PortProperties_i::PortProperties_i() {}
 PortProperties_i::~PortProperties_i() {}
 
 void
-PortProperties_i::set_property(const char * name, const CORBA::Any& value)
-  throw (Ports::NotDefined, Ports::BadType)
+PortProperties_i::set_property(const char* /*name*/, const CORBA::Any& /*value*/)
 {
   // Default case, the object has no properties.
   throw Ports::NotDefined();
 }
 
 CORBA::Any* 
-PortProperties_i::get_property(const char* name)
-  throw (Ports::NotDefined)
+PortProperties_i::get_property(const char* /*name*/)
 {
   // Default case, the object has no properties.
   throw Ports::NotDefined();