From 5ed9fd9146878c870ce1ffe23088afe8d1ef1a7f Mon Sep 17 00:00:00 2001 From: cyborg1811m Date: Sun, 28 Jul 2024 16:46:24 +0200 Subject: [PATCH] fixed indexing for capacity --- test/const_vector/test_params.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/const_vector/test_params.h b/test/const_vector/test_params.h index a9ede5c..dce133b 100644 --- a/test/const_vector/test_params.h +++ b/test/const_vector/test_params.h @@ -56,14 +56,14 @@ template<> template<> constexpr std::initializer_list test_context_para GEN_TEST_OBJ_FROM_ARR(1, 6), GEN_TEST_OBJ_FROM_ARR(1, 7) }; -template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 10; -template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 10; -template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 10; -template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 10; -template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 200; -template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 200; -template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 200; -template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 200; +template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 10; +template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 10; +template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 10; +template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 10; +template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 200; +template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 200; +template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 200; +template<> template<> constexpr std::size_t test_context_params::value<"capacity"> = 200; template<> template<> constexpr std::size_t test_context_params::value<"size"> = 25; template<> template<> constexpr std::size_t test_context_params::value<"size"> = 25;