Salome HOME
updated copyright message
[modules/paravis.git] / src / Plugins / JSONReader / plugin / JSONReaderModule / vtkJSONReader.cxx
index ff72f761f8bf6a0468622ffebae779a8fa085974..1faa2a79198d20a832ae78feaa1b3e1155416363 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2015-2023  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
@@ -34,7 +34,7 @@
 
 #include <stdexcept>
 #include <sstream>
-
+#include <fstream>
 // Key words
 #define MD  "_metadata"
 #define CMT "_comment"
@@ -183,7 +183,7 @@ int vtkJSONReader::CanParseFile(const char *fname, Json::Value &root)
     return 0;
   }
 
-  ifstream file;
+  std::ifstream file;
   std::ostringstream oss;
   bool parsedSuccess = true;
   Json::Reader reader;