From b5967398c8d14c440a3605efcd6ae7bc1c7ba58c Mon Sep 17 00:00:00 2001
From: Norbert Podhorszki <pnorbert@ornl.gov>
Date: Fri, 24 Mar 2017 15:05:51 -0400
Subject: [PATCH] Fix DataMan engine constructor for new API

---
 include/engine/dataman/DataManReader.h | 3 ++-
 include/engine/dataman/DataManWriter.h | 3 ++-
 src/engine/dataman/DataManReader.cpp   | 3 ++-
 src/engine/dataman/DataManWriter.cpp   | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/include/engine/dataman/DataManReader.h b/include/engine/dataman/DataManReader.h
index c61213233..85a02c061 100644
--- a/include/engine/dataman/DataManReader.h
+++ b/include/engine/dataman/DataManReader.h
@@ -37,7 +37,8 @@ public:
      * @param nthreads
      */
     DataManReader( ADIOS& adios, const std::string name, const std::string accessMode, MPI_Comm mpiComm,
-                   const Method& method, const bool debugMode = false, const unsigned int nthreads = 1 );
+                   const Method& method, const IOMode iomode, const float timeout_sec,
+                   const bool debugMode = false, const unsigned int nthreads = 1 );
 
     ~DataManReader( );
 
diff --git a/include/engine/dataman/DataManWriter.h b/include/engine/dataman/DataManWriter.h
index 455583a06..106ae0ef9 100644
--- a/include/engine/dataman/DataManWriter.h
+++ b/include/engine/dataman/DataManWriter.h
@@ -40,7 +40,8 @@ public:
      * @param nthreads
      */
     DataManWriter( ADIOS& adios, const std::string name, const std::string accessMode, MPI_Comm mpiComm,
-                   const Method& method, const bool debugMode = false, const unsigned int nthreads = 1 );
+                   const Method& method, const IOMode iomode, const float timeout_sec,
+                   const bool debugMode = false, const unsigned int nthreads = 1 );
 
     ~DataManWriter( );
 
diff --git a/src/engine/dataman/DataManReader.cpp b/src/engine/dataman/DataManReader.cpp
index e7fc8f5f6..062bfaa50 100644
--- a/src/engine/dataman/DataManReader.cpp
+++ b/src/engine/dataman/DataManReader.cpp
@@ -23,7 +23,8 @@ namespace adios
 {
 
 DataManReader::DataManReader( ADIOS& adios, const std::string name, const std::string accessMode, MPI_Comm mpiComm,
-                              const Method& method, const bool debugMode, const unsigned int nthreads ):
+                              const Method& method, const IOMode iomode, const float timeout_sec,
+                              const bool debugMode, const unsigned int nthreads ):
     Engine( adios, "DataManReader", name, accessMode, mpiComm, method, debugMode, nthreads, " DataManReader constructor (or call to ADIOS Open).\n" ),
     m_Buffer( accessMode, m_RankMPI, m_DebugMode )
 {
diff --git a/src/engine/dataman/DataManWriter.cpp b/src/engine/dataman/DataManWriter.cpp
index bdbd5942e..c4b431ee7 100644
--- a/src/engine/dataman/DataManWriter.cpp
+++ b/src/engine/dataman/DataManWriter.cpp
@@ -23,7 +23,8 @@ namespace adios
 
 
 DataManWriter::DataManWriter( ADIOS& adios, const std::string name, const std::string accessMode, MPI_Comm mpiComm,
-                              const Method& method, const bool debugMode, const unsigned int nthreads ):
+                              const Method& method, const IOMode iomode, const float timeout_sec,
+                              const bool debugMode, const unsigned int nthreads ):
     Engine( adios, "DataManWriter", name, accessMode, mpiComm, method, debugMode, nthreads, " DataManWriter constructor (or call to ADIOS Open).\n" ),
     m_Buffer( accessMode, m_RankMPI, m_DebugMode )
 {
-- 
GitLab