Skip to content

Commit

Permalink
Fix clang-format messup
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Eisenhauer committed Apr 2, 2021
1 parent d8ee0aa commit 62595a2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions source/adios2/toolkit/transportman/TransportMan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ TransportMan::OpenFileTransport(const std::string &fileName,
transport->SetBuffer(nullptr, 0);
}
}
#ifndef _WIN32 else if (library == "POSIX" || library == "posix") {
#ifndef _WIN32
else if (library == "POSIX" || library == "posix") {
transport = std::make_shared<transport::FilePOSIX>(m_Comm);
if (lf_GetBuffered("false")) {
throw std::invalid_argument(
Expand All @@ -357,7 +358,8 @@ TransportMan::OpenFileTransport(const std::string &fileName,
}
}
#endif
#ifdef ADIOS2_HAVE_DAOS else if (library == "Daos" || library == "daos") {
#ifdef ADIOS2_HAVE_DAOS
else if (library == "Daos" || library == "daos") {
transport = std::make_shared<transport::FileDaos>(m_Comm);
if (lf_GetBuffered("false")) {
throw std::invalid_argument(
Expand All @@ -366,10 +368,12 @@ TransportMan::OpenFileTransport(const std::string &fileName,
}
}
#endif
#ifdef ADIOS2_HAVE_IME else if (library == "IME" || library == "ime") {
#ifdef ADIOS2_HAVE_IME
else if (library == "IME" || library == "ime") {
transport = std::make_shared<transport::FileIME>(m_Comm);
}
#endif else if (library == "NULL" || library == "null") {
#endif
else if (library == "NULL" || library == "null") {
transport = std::make_shared<transport::NullTransport>(m_Comm);
if (lf_GetBuffered("false")) {
throw std::invalid_argument(
Expand Down

0 comments on commit 62595a2

Please sign in to comment.