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.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/serialize/binary-writer.hpp b/serialize/binary-writer.hpp
index 02fe427d..13580eb0 100644
--- a/serialize/binary-writer.hpp
+++ b/serialize/binary-writer.hpp
@@ -8,8 +8,7 @@ namespace floormat::Serialize {
template<std::output_iterator<char> It>
struct binary_writer final {
explicit constexpr binary_writer(It it) noexcept;
- template<integer T> constexpr void write(T x) noexcept;
- template<std::floating_point T> void write(T x) 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; }