From f1729bb8a1b6e6f0f8dee5f9ebc0f55fda29ac92 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Wed, 27 Sep 2023 11:51:59 -0700 Subject: [PATCH] Remove unused choice helper structs --- .../boost/unordered/detail/implementation.hpp | 30 +------------------ 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 92d9c2b9..2f577968 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -283,35 +283,7 @@ namespace boost { // Bits and pieces for implementing traits template typename std::add_lvalue_reference::type make(); - struct choice9 - { - typedef char (&type)[9]; - }; - struct choice8 : choice9 - { - typedef char (&type)[8]; - }; - struct choice7 : choice8 - { - typedef char (&type)[7]; - }; - struct choice6 : choice7 - { - typedef char (&type)[6]; - }; - struct choice5 : choice6 - { - typedef char (&type)[5]; - }; - struct choice4 : choice5 - { - typedef char (&type)[4]; - }; - struct choice3 : choice4 - { - typedef char (&type)[3]; - }; - struct choice2 : choice3 + struct choice2 { typedef char (&type)[2]; };