Salome HOME
Remove c++11 warnings about throw specification.
[modules/yacs.git] / src / engine / OutPort.hxx
index fb9cd69284706009be4d406ea86e3f54b34d3711..5f75d345005628439a3bed7020f87d7b8308f69e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -42,10 +42,10 @@ namespace YACS
       virtual void checkConsistency(LinkInfo& info) const;
       virtual int edGetNumberOfOutLinks() const;
       virtual std::set<InPort *> edSetInPort() const = 0;
-      virtual bool isAlreadyLinkedWith(InPort *with) const = 0;
+      virtual bool isAlreadyLinkedWith(InPort *withp) const = 0;
       virtual void getAllRepresented(std::set<OutPort *>& represented) const;
-      virtual bool addInPort(InPort *inPort) throw(Exception) = 0;
-      virtual int removeInPort(InPort *inPort, bool forward) throw(Exception) = 0;
+      virtual bool addInPort(InPort *inPort)  = 0;
+      virtual int removeInPort(InPort *inPort, bool forward)  = 0;
       virtual ~OutPort();
       std::vector<DataPort *> calculateHistoryOfLinkWith(InPort *end);
       virtual std::string typeName() {return "YACS__ENGINE__OutPort";}