diff --git a/deps/ox/src/ox/std/test/tests.cpp b/deps/ox/src/ox/std/test/tests.cpp index 1d5b84154..0904067eb 100644 --- a/deps/ox/src/ox/std/test/tests.cpp +++ b/deps/ox/src/ox/std/test/tests.cpp @@ -42,7 +42,7 @@ map> tests = { [] { ox::Vector v; oxAssert(v.size() == 0, "Initial Vector size not 0"); - auto insertTest = [&v](int val, std::size_t size) { + auto insertTest = [&v](int val, [[maybe_unused]] std::size_t size) { v.push_back(val); oxAssert(v.size() == size, "Vector size incorrect"); oxAssert(v[v.size() - 1] == val, "Vector value wrong");