Update serialization.hpp

This commit is contained in:
Elad.Ash 2024-03-01 12:00:21 +02:00
parent 998f867c29
commit fc98f35ea7

View file

@ -567,7 +567,7 @@ public:
} }
template <typename T> requires (std::is_copy_constructible_v<T> && std::is_constructible_v<T> && Bitcopy<T>) template <typename T> requires (std::is_copy_constructible_v<T> && std::is_constructible_v<T> && Bitcopy<T>)
6 std::pair<bool, T> try_read() std::pair<bool, T> try_read()
{ {
if (is_writing()) if (is_writing())
{ {