summaryrefslogtreecommitdiffhomepage
path: root/serialize/binary-writer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'serialize/binary-writer.hpp')
-rw-r--r--serialize/binary-writer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/serialize/binary-writer.hpp b/serialize/binary-writer.hpp
index 098f9aa2..625bb53c 100644
--- a/serialize/binary-writer.hpp
+++ b/serialize/binary-writer.hpp
@@ -10,11 +10,11 @@ struct binary_writer final {
explicit constexpr binary_writer(It it) noexcept;
template<serializable T> constexpr void write(T x) noexcept;
constexpr void write_asciiz_string(StringView str) noexcept;
- constexpr std::size_t bytes_written() const noexcept { return _bytes_written; }
+ constexpr size_t bytes_written() const noexcept { return _bytes_written; }
private:
It it;
- std::size_t _bytes_written;
+ size_t _bytes_written;
};
template<std::output_iterator<char> It, serializable T>