Skip to content

Commit

Permalink
tests: fix build for C++17 and above
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Olivier <martin.olivier@live.fr>
  • Loading branch information
martin-olivier committed Jan 5, 2025
1 parent 93714c7 commit 7c853ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ TEST(system_lib, basic_test) {

#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
TEST(filesystem, basic_test) {
bool has_sym = dylib::library(std::filesystem::path("."), "dynamic_lib").has_symbol("pi_value_c");
bool has_sym = dylib::library(std::filesystem::path("./dynamic_lib"), dylib::decorations::os_default()).has_symbol("pi_value_c");
EXPECT_TRUE(has_sym);

bool found = false;
Expand Down

0 comments on commit 7c853ee

Please sign in to comment.