Skip to content

Commit 2fc1c41

Browse files
committed
Fix non-ADIOS2 builds
1 parent 04704cd commit 2fc1c41

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/IO/ADIOS/ADIOS2PreloadVariables.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#include "openPMD/config.hpp"
2+
#if openPMD_HAVE_ADIOS2
3+
14
#include "openPMD/IO/ADIOS/ADIOS2PreloadVariables.hpp"
25

36
#include <algorithm>
@@ -74,3 +77,5 @@ auto AdiosVariables::availableAttributes(size_t step, adios2::IO &IO)
7477
return *m_availableVariables;
7578
}
7679
} // namespace openPMD::detail
80+
81+
#endif

0 commit comments

Comments
 (0)