We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7fbbf2 commit 8951d41Copy full SHA for 8951d41
1 file changed
src/include/sndx/data/serialize.hpp
@@ -18,7 +18,7 @@ namespace sndx {
18
template <class SerializeIt>
19
constexpr void serialize(const T& value, SerializeIt& it) const {
20
static_assert(false, "Missing specialization for type T");
21
- };
+ }
22
};
23
24
template <class OutputIt, class T>
@@ -137,7 +137,7 @@ namespace sndx {
137
}
138
139
140
- template <class T> [[nodiscard]]
+ template <class T>
141
constexpr void deserialize(T& to, const std::vector<uint8_t>& bytes) {
142
deserializeFrom(to, bytes.begin(), bytes.end());
143
0 commit comments