File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -117,21 +117,8 @@ template<typename Stream> inline uint64_t ser_readdata64(Stream &s)
117
117
}
118
118
119
119
120
- // ///////////////////////////////////////////////////////////////
121
- //
122
- // Templates for serializing to anything that looks like a stream,
123
- // i.e. anything that supports .read(Span<std::byte>) and .write(Span<const std::byte>)
124
- //
125
-
126
120
class SizeComputer ;
127
121
128
- enum
129
- {
130
- // primary actions
131
- SER_NETWORK = (1 << 0 ),
132
- SER_DISK = (1 << 1 ),
133
- };
134
-
135
122
/* *
136
123
* Convert any argument to a reference to X, maintaining constness.
137
124
*
@@ -268,6 +255,9 @@ const Out& AsBase(const In& x)
268
255
BASE_SERIALIZE_METHODS (cls) \
269
256
FORMATTER_METHODS_PARAMS(cls, obj, paramcls, paramobj)
270
257
258
+ // Templates for serializing to anything that looks like a stream,
259
+ // i.e. anything that supports .read(Span<std::byte>) and .write(Span<const std::byte>)
260
+ //
271
261
// clang-format off
272
262
#ifndef CHAR_EQUALS_INT8
273
263
template <typename Stream> void Serialize (Stream&, char ) = delete; // char serialization forbidden. Use uint8_t or int8_t
You can’t perform that action at this time.
0 commit comments