test/util/TestIntrusiveList: remove unused code
This commit is contained in:
parent
970ccf043b
commit
48c4081ba1
@ -41,14 +41,6 @@ struct CharItem final : Hook {
|
|||||||
char ch;
|
char ch;
|
||||||
|
|
||||||
constexpr CharItem(char _ch) noexcept:ch(_ch) {}
|
constexpr CharItem(char _ch) noexcept:ch(_ch) {}
|
||||||
|
|
||||||
template<std::size_t size>
|
|
||||||
static auto MakeArray(const char (&src)[size]) noexcept {
|
|
||||||
std::array<CharItem, size - 1> result;
|
|
||||||
for (std::size_t i = 0; i < result.size(); ++i)
|
|
||||||
result[i].ch = src[i];
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename Hook>
|
template<typename Hook>
|
||||||
|
Loading…
Reference in New Issue
Block a user