Salome HOME
Work in progress save and load state.
[modules/yacs.git] / src / engine / VisitorSaveState.cxx
index cd1197ac595641454500fba42e193b13999e32f4..47178e2db9b71ef4563efb7200fc8fd06856aea7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2015  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
@@ -72,7 +72,7 @@ VisitorSaveState::~VisitorSaveState()
     }
 }
 
-void VisitorSaveState::openFileDump(std::string xmlDump) throw(YACS::Exception)
+void VisitorSaveState::openFileDump(const std::string& xmlDump) throw(YACS::Exception)
 {
   _out.open(xmlDump.c_str(), ios::out);
   if (!_out)
@@ -325,4 +325,4 @@ void VisitorSaveState::visitStudyInNode(DataNode *node)
 void VisitorSaveState::visitStudyOutNode(DataNode *node)
 {
   visitElementaryNode(node);
-}
+}
\ No newline at end of file