We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8252726 commit b0fb7f2Copy full SHA for b0fb7f2
1 file changed
include/bitcoin/database/impl/primitives/linkage.ipp
@@ -55,7 +55,7 @@ inline CLASS& CLASS::operator=(const bytes& other) NOEXCEPT
55
{
56
value = 0;
57
system::unsafe_array_cast<uint8_t, Size>(&value) = other;
58
- value = system::native_from_little_end(value);
+ ////value = system::native_from_little_end(value);
59
return *this;
60
}
61
@@ -89,8 +89,8 @@ constexpr CLASS::operator CLASS::integer() const NOEXCEPT
89
TEMPLATE
90
inline CLASS::operator CLASS::bytes() const NOEXCEPT
91
92
- const auto little = system::native_to_little_end(value);
93
- return system::unsafe_array_cast<uint8_t, Size>(&little);
+ ////const auto little = system::native_to_little_end(value);
+ return system::unsafe_array_cast<uint8_t, Size>(&value);
94
95
96
0 commit comments