Commit 71f9332b authored by Max Kellermann's avatar Max Kellermann

test/TestCircularBuffer: add `constexpr` to fix -Wvla

parent 3eae3a28
......@@ -8,7 +8,7 @@
TEST(CircularBuffer, Basic)
{
static size_t N = 8;
constexpr size_t N = 8;
int data[N];
CircularBuffer<int> buffer(data, N);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment