Skip to content

Commit 8951d41

Browse files
committed
Update serialize.hpp
1 parent a7fbbf2 commit 8951d41

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/include/sndx/data/serialize.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace sndx {
1818
template <class SerializeIt>
1919
constexpr void serialize(const T& value, SerializeIt& it) const {
2020
static_assert(false, "Missing specialization for type T");
21-
};
21+
}
2222
};
2323

2424
template <class OutputIt, class T>
@@ -137,7 +137,7 @@ namespace sndx {
137137
}
138138

139139

140-
template <class T> [[nodiscard]]
140+
template <class T>
141141
constexpr void deserialize(T& to, const std::vector<uint8_t>& bytes) {
142142
deserializeFrom(to, bytes.begin(), bytes.end());
143143
}

0 commit comments

Comments
 (0)