Skip to content

Commit

Permalink
Fix reference assignment
Browse files Browse the repository at this point in the history
Since m_ADIOS is a reference type then it can't be called with an explicit
constructor
  • Loading branch information
Chuck Atkins committed Mar 30, 2017
1 parent 8734069 commit 79a13e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Engine::Engine(ADIOS &adios, const std::string engineType,
MPI_Comm mpiComm, const Method &method, const bool debugMode,
const unsigned int nthreads, const std::string endMessage)
: m_MPIComm{mpiComm}, m_EngineType{engineType}, m_Name{name},
m_AccessMode{accessMode}, m_Method{method}, m_ADIOS{adios},
m_AccessMode{accessMode}, m_Method{method}, m_ADIOS(adios),
m_DebugMode{debugMode}, m_nThreads{nthreads}, m_EndMessage(endMessage)
{
if (m_DebugMode == true)
Expand Down

0 comments on commit 79a13e7

Please sign in to comment.