diff options
author | Sven Göthel <[email protected]> | 2024-05-24 02:39:22 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-05-24 02:39:22 +0200 |
commit | ddb3dd8bc931ee72592d257791024fad8a2ddcf1 (patch) | |
tree | 56d05bf55eb83e91f41085415418ec244e6eb3ad /test | |
parent | da80e9bd8b394bb9b4254701335ddaa2c633c89d (diff) |
C++20 clang-tidy fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/test_eui48.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_eui48.cpp b/test/test_eui48.cpp index ef59ac3..c978f14 100644 --- a/test/test_eui48.cpp +++ b/test/test_eui48.cpp @@ -19,7 +19,7 @@ static void test_sub01(const lb_endian_t byte_order, const std::string& mac_str, PRAGMA_DISABLE_WARNING_PUSH PRAGMA_DISABLE_WARNING_RESTRICT // bogus gcc 12.2 'may overlap' - jau::for_each_const(mac_sub_strs, [&byte_order, &i, &mac, &indices](const std::string &mac_sub_str) { + jau::for_each_const(mac_sub_strs, [&byte_order, &i, &mac, &indices](const std::string &mac_sub_str) noexcept { // NOLINT(bugprone-exception-escape) const EUI48Sub mac_sub(mac_sub_str); printf("EUI48Sub mac02_sub: '%s' -> '%s'\n", mac_sub_str.c_str(), mac_sub.toString().c_str()); { |