Avoid unused variable warning in GeneratorsImpl tests

This commit is contained in:
Martin Hořeňovský 2023-05-17 11:08:45 +02:00
parent 73b93ce6bc
commit b3cf1bfb5d
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -412,6 +412,7 @@ TEST_CASE("GENERATE handles function (pointers)", "[generators][compilation][app
TEST_CASE("GENERATE decays arrays", "[generators][compilation][approvals]") { TEST_CASE("GENERATE decays arrays", "[generators][compilation][approvals]") {
auto str = GENERATE("abc", "def", "gh"); auto str = GENERATE("abc", "def", "gh");
(void)str;
STATIC_REQUIRE(std::is_same<decltype(str), const char*>::value); STATIC_REQUIRE(std::is_same<decltype(str), const char*>::value);
} }