From 48c4081ba1f22e382ecf47181537d0153144d795 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 11 Nov 2022 21:11:21 +0100 Subject: [PATCH] test/util/TestIntrusiveList: remove unused code --- test/util/TestIntrusiveList.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/util/TestIntrusiveList.cxx b/test/util/TestIntrusiveList.cxx index 1c5937552..1039324e6 100644 --- a/test/util/TestIntrusiveList.cxx +++ b/test/util/TestIntrusiveList.cxx @@ -41,14 +41,6 @@ struct CharItem final : Hook { char ch; constexpr CharItem(char _ch) noexcept:ch(_ch) {} - - template - static auto MakeArray(const char (&src)[size]) noexcept { - std::array result; - for (std::size_t i = 0; i < result.size(); ++i) - result[i].ch = src[i]; - return result; - } }; template