Skip to content

Commit 1bcc327

Browse files
committed
Remove dead code.
1 parent fad46b4 commit 1bcc327

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

include/bitcoin/system/literals.hpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,6 @@ CONSTEVAL Domain negative(integer_type value) noexcept(false)
112112
return static_cast<Domain>(~narrowed + narrow{1});
113113
}
114114

115-
template <size_t Size>
116-
struct string_holder
117-
{
118-
char str[Size];
119-
120-
CONSTEVAL string_holder(const char(&string)[Size]) noexcept
121-
{
122-
for (size_t i = 0; i < Size; ++i)
123-
str[i] = string[i];
124-
}
125-
};
126-
127115
BC_POP_WARNING()
128116
BC_POP_WARNING()
129117

include/bitcoin/system/types.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ class data_t
191191
{
192192
}
193193

194-
CONSTEVAL bool operator==(const data_t&) const noexcept = default;
195194
const std::array<uint8_t, Size - 1> data;
196195

197196
private:
@@ -214,7 +213,6 @@ class text_t
214213
{
215214
}
216215

217-
CONSTEVAL bool operator==(const text_t&) const noexcept = default;
218216
const std::array<char, Size - 1> text;
219217

220218
private:

0 commit comments

Comments
 (0)