Salome HOME
Remove c++11 warnings about throw specification.
[modules/yacs.git] / src / engine / ForLoop.cxx
index be7cae3713e0d6dca0b1346bdb5e292cd09ce0b2..519045134eb9113ba9372ec021fcbfe2c6917ab7 100644 (file)
@@ -67,7 +67,7 @@ Node *ForLoop::simpleClone(ComposedNode *father, bool editionOnly) const
   return new ForLoop(*this,father,editionOnly);
 }
 
-InputPort* ForLoop::getInputPort(const std::string& name) const throw(YACS::Exception)
+InputPort* ForLoop::getInputPort(const std::string& name) const 
 {
     if(name == NAME_OF_NSTEPS_NUMBER)return (InputPort*)&_nbOfTimesPort;
     return Loop::getInputPort(name);
@@ -182,14 +182,14 @@ std::list<InputPort *> ForLoop::getLocalInputPorts() const
   return ret;
 }
 
-OutPort *ForLoop::getOutPort(const std::string& name) const throw(YACS::Exception)
+OutPort *ForLoop::getOutPort(const std::string& name) const 
 {
   if(name==NAME_OF_INDEX)
     return (OutPort *)&_indexPort;
   return Loop::getOutPort(name);
 }
 
-OutputPort *ForLoop::getOutputPort(const std::string& name) const throw(YACS::Exception)
+OutputPort *ForLoop::getOutputPort(const std::string& name) const 
 {
   if(name==NAME_OF_INDEX)
     return (OutputPort *)&_indexPort;