Skip to content
Snippets Groups Projects
Commit 70472d2c authored by William F Godoy's avatar William F Godoy
Browse files

Correcting for char PathSeparator

parent 09be05e7
No related branches found
No related tags found
1 merge request!294Bp1read : Initial Reading Capabilities and latest API
......@@ -601,8 +601,8 @@ std::string BP3Base::GetBPRankName(const std::string &name,
{
bpRoot = bpName.substr(lastPathSeparator);
}
const std::string bpRankName(bpName + ".dir" + std::string(PathSeparator) +
bpRoot + "." + std::to_string(rank));
const std::string bpRankName(bpName + ".dir" + PathSeparator + bpRoot +
"." + std::to_string(rank));
return bpRankName;
}
......
......@@ -24,8 +24,8 @@ protected:
TEST_F(XMLConfigTest, TwoIOs)
{
const std::string configFile(
configDir + std::string(adios2::PathSeparator) + "config1.xml");
const std::string configFile(configDir + adios2::PathSeparator +
"config1.xml");
#ifdef ADIOS2_HAVE_MPI
adios2::ADIOS adios(configFile, MPI_COMM_WORLD, adios2::DebugON);
......@@ -57,8 +57,8 @@ TEST_F(XMLConfigTest, TwoIOs)
TEST_F(XMLConfigTest, TwoEnginesException)
{
const std::string configFile(
configDir + std::string(adios2::PathSeparator) + "config2.xml");
const std::string configFile(configDir + adios2::PathSeparator +
"config2.xml");
#ifdef ADIOS2_HAVE_MPI
EXPECT_THROW(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment