diff --git a/examples/heatTransfer/read/heatRead_adios2.cpp b/examples/heatTransfer/read/heatRead_adios2.cpp index abbe5ac6900ca4df3b8ba5a5d99783ac2b76aa64..dd8ef0cf0e7038a99eae8e3d7a90c71ced2d9f15 100644 --- a/examples/heatTransfer/read/heatRead_adios2.cpp +++ b/examples/heatTransfer/read/heatRead_adios2.cpp @@ -55,11 +55,11 @@ int main(int argc, char *argv[]) // if not defined by user, we can change the default settings // BPFileWriter is the default engine bpReaderIO.SetEngine("ADIOS1Reader"); - bpReaderIO.SetParameters({"num_threads=2"}); + bpReaderIO.SetParameters({{"num_threads", "2"}}); // ISO-POSIX file is the default transport // Passing parameters to the transport - bpReaderIO.AddTransport("File", {"verbose=4"}); + bpReaderIO.AddTransport("File", {{"verbose", "4"}}); } auto bpReader = diff --git a/examples/hello/adios1Writer/helloADIOS1Writer.cpp b/examples/hello/adios1Writer/helloADIOS1Writer.cpp index 71e5c042a14df873065c55009dc91c090a659015..aa4a075b3eab992899094967aba67c8a5bb52407 100644 --- a/examples/hello/adios1Writer/helloADIOS1Writer.cpp +++ b/examples/hello/adios1Writer/helloADIOS1Writer.cpp @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) * Parameters, Transports, and Execution: Engines */ adios2::IO &adios1IO = adios.DeclareIO("ADIOS1IO"); adios1IO.SetEngine("ADIOS1Writer"); - adios1IO.AddTransport("file", {"library=MPI"}); + adios1IO.AddTransport("file", {{"library", "MPI"}}); /** global array : name, { shape (total) }, { start (local) }, { count * (local) }, all are constant dimensions */