Salome HOME
Squeeze memory of process hosting YACS graph
[modules/yacs.git] / src / runtime / XMLPorts.cxx
index 903333d14e0f6abf696fda10833b5bd047ca8761..606f07d61c7375849403958305e38ed0e9273dc0 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2006-2012  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
 // 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
@@ -70,6 +70,10 @@ void InputXmlPort::put(const char *data) throw (ConversionException)
   _data = data;
 }
 
+void InputXmlPort::releaseData()
+{//nothing because _data has no ref counter
+}
+
 bool InputXmlPort::isEmpty()
 {
   return _data.empty();