diff --git a/test/TestCircularBuffer.cxx b/test/TestCircularBuffer.cxx index 77d6e447f..210db93d6 100644 --- a/test/TestCircularBuffer.cxx +++ b/test/TestCircularBuffer.cxx @@ -8,7 +8,7 @@ TEST(CircularBuffer, Basic) { - static size_t N = 8; + constexpr size_t N = 8; int data[N]; CircularBuffer buffer(data, N);