Commit 61881560 authored by Dominik Charousset's avatar Dominik Charousset

Fix serialization interfaces

parent 143dace9
......@@ -106,15 +106,6 @@ public:
/// @copydoc apply
virtual result_type apply(long double&) = 0;
/// @copydoc apply
virtual result_type apply(timespan x) = 0;
/// @copydoc apply
virtual result_type apply(timestamp x) = 0;
/// @copydoc apply
virtual result_type apply(atom_value x) = 0;
/// @copydoc apply
virtual result_type apply(std::string&) = 0;
......@@ -133,7 +124,7 @@ public:
/// Reads a byte sequence from the input.
/// @param x The byte sequence.
/// @returns A non-zero error code on failure, `sec::success` otherwise.
virtual result_type apply_raw(span<byte> x) = 0;
virtual result_type apply(span<byte> x) = 0;
/// Adds each boolean in `xs` to the output. Derived classes can override this
/// member function to pack the booleans, for example to avoid using one byte
......
......@@ -113,15 +113,6 @@ public:
/// @copydoc apply
virtual result_type apply(long double x) = 0;
/// @copydoc apply
virtual result_type apply(timespan x) = 0;
/// @copydoc apply
virtual result_type apply(timestamp x) = 0;
/// @copydoc apply
virtual result_type apply(atom_value x) = 0;
/// @copydoc apply
virtual result_type apply(string_view x) = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment