Skip to content

Commit 31ce4b4

Browse files
[test] maybe unused assert variable in release
1 parent 4693187 commit 31ce4b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/utility_identity_default.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace {
4646
//! @test Verifies the 1x1 identity matrix deduced default value is a unit
4747
//! double.
4848
[[maybe_unused]] auto test{[] {
49-
auto i{identity<>};
49+
[[maybe_unused]] auto i{identity<>};
5050

5151
assert(i == 1.0);
5252
static_assert(std::is_same_v<decltype(i), double>);

test/utility_zero_default.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace fcarouge::test {
4545
namespace {
4646
//! @test Verifies the 1x1 zero matrix deduced default value is a null double.
4747
[[maybe_unused]] auto test{[] {
48-
auto z{zero<>};
48+
[[maybe_unused]] auto z{zero<>};
4949

5050
assert(z == 0.0);
5151
static_assert(std::is_same_v<decltype(z), double>);

0 commit comments

Comments
 (0)