aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/first_aligned.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/first_aligned.cpp')
-rw-r--r--test/first_aligned.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/first_aligned.cpp b/test/first_aligned.cpp
index 5fb806298..687f4a5dc 100644
--- a/test/first_aligned.cpp
+++ b/test/first_aligned.cpp
@@ -34,9 +34,8 @@ void test_first_aligned_helper(Scalar *array, int size)
template<typename Scalar>
void test_none_aligned_helper(Scalar *array, int size)
{
- // Suppress 'unreferenced formal parameter's warnings.
- (void)array;
- (void)size;
+ EIGEN_UNUSED_VARIABLE(array);
+ EIGEN_UNUSED_VARIABLE(size);
VERIFY(ei_packet_traits<Scalar>::size == 1 || ei_first_aligned(array, size) == size);
}