Skip to content

Commit

Permalink
Add missing export declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jul 3, 2024
1 parent dcb26be commit af9b925
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Files_SerialIO/close_iteration_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "SerialIOTests.hpp"
#include "openPMD/IO/ADIOS/macros.hpp"
#include "openPMD/IO/Access.hpp"
#include "openPMD/auxiliary/Export.hpp"
#include "openPMD/auxiliary/Filesystem.hpp"

#include <catch2/catch.hpp>
Expand Down Expand Up @@ -269,6 +270,7 @@ auto run_test_groupbased(
}
}

OPENPMDAPI_EXPORT
auto close_and_reopen_test() -> void
{
run_test_filebased([](Series &s) { return s.iterations; }, "bp");
Expand Down
2 changes: 2 additions & 0 deletions test/Files_SerialIO/filebased_write_test.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#include "SerialIOTests.hpp"
#include "openPMD/IO/Access.hpp"
#include "openPMD/auxiliary/Export.hpp"

namespace filebased_write_test
{
using namespace openPMD;

OPENPMDAPI_EXPORT
void close_and_reopen_iterations(
const std::string &filename,
openPMD::Access access,
Expand Down

0 comments on commit af9b925

Please sign in to comment.