summaryrefslogtreecommitdiffhomepage
path: root/serialize/binary-serializer.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-17 21:59:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-17 23:23:12 +0100
commitc17cef93bd6bbc1b071dcd82df0dbc9420e52ef4 (patch)
tree5900d8246099ba0113f1dd9be864315e929b831a /serialize/binary-serializer.cpp
parent1d4b76f4429334b8d1a18cb50a9ceea04c10443e (diff)
serialize/test: fix outdated test
Diffstat (limited to 'serialize/binary-serializer.cpp')
-rw-r--r--serialize/binary-serializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/binary-serializer.cpp b/serialize/binary-serializer.cpp
index f145c0b3..12163792 100644
--- a/serialize/binary-serializer.cpp
+++ b/serialize/binary-serializer.cpp
@@ -27,7 +27,7 @@ constexpr bool test2()
static_assert(test2());
using test3 = binary_reader<std::array<char, 1>::iterator>;
-static_assert(std::is_same_v<test3&, decltype( std::declval<test3&>() >> std::declval<int&>() )>);
+static_assert(std::is_same_v<void, decltype( std::declval<test3&>() >> std::declval<int&>() )>);
using test4 = binary_writer<std::array<char, sizeof(int)>::iterator>;
static_assert(std::is_same_v<test4&, decltype( std::declval<test4&>() << int() )>);