summaryrefslogtreecommitdiff
path: root/implementation/message/src/payload_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/message/src/payload_impl.cpp')
-rw-r--r--implementation/message/src/payload_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/implementation/message/src/payload_impl.cpp b/implementation/message/src/payload_impl.cpp
index 663a7b8..8920e0c 100644
--- a/implementation/message/src/payload_impl.cpp
+++ b/implementation/message/src/payload_impl.cpp
@@ -69,7 +69,7 @@ void payload_impl::set_data(std::vector< byte_t > &&_data) {
}
bool payload_impl::serialize(serializer *_to) const {
- return (0 != _to && _to->serialize(data_.data(), uint32_t(data_.size())));
+ return (0 != _to && _to->serialize(data_));
}
bool payload_impl::deserialize(deserializer *_from) {