Skip to content

Commit 0e8b00e

Browse files
authored
Update C++ standard and header in test function
Updated the C++ standard version in the test configuration and changed the included header from RandX.hpp to RandX_Cpp17.hpp.
1 parent 36f4a40 commit 0e8b00e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/r/randx/xmake.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ package("randx")
2323

2424
on_test(function (package)
2525
assert(package:check_cxxsnippets({test = [[
26-
#include <RandX.hpp>
26+
#include <RandX_Cpp17.hpp>
2727
#include <cstdint>
2828
static void test() {
2929
std::uint64_t v = RandX::RandInt<std::uint64_t>(0, 1000);
3030
(void)v;
3131
}
32-
]]}, {configs = {languages = "c++23"}}))
32+
]]}, {configs = {languages = "c++17"}}))
3333
end)

0 commit comments

Comments
 (0)