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 4, 2024
1 parent dcb26be commit 55a81ed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/Files_SerialIO/SerialIOTests.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

namespace filebased_write_test
{
OPENPMDAPI_EXPORT
auto close_and_reopen_iterations(std::string const &filename) -> void;
}
} // namespace filebased_write_test
namespace close_and_reopen_test
{
OPENPMDAPI_EXPORT
auto close_and_reopen_test() -> void;
}
} // namespace close_and_reopen_test
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,5 +1,6 @@
#include "SerialIOTests.hpp"
#include "openPMD/IO/Access.hpp"
#include "openPMD/auxiliary/Export.hpp"

namespace filebased_write_test
{
Expand Down Expand Up @@ -77,6 +78,7 @@ void close_and_reopen_iterations(
}
}

OPENPMDAPI_EXPORT
void close_and_reopen_iterations(std::string const &filename)
{
close_and_reopen_iterations(
Expand Down

0 comments on commit 55a81ed

Please sign in to comment.