File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1103,12 +1103,12 @@ size_t GetSerializeSize(const T& t)
1103
1103
return (SizeComputer () << t).size ();
1104
1104
}
1105
1105
1106
- /* * Wrapper that overrides the GetParams() function of a stream (and hides GetVersion/GetType) . */
1106
+ /* * Wrapper that overrides the GetParams() function of a stream. */
1107
1107
template <typename Params, typename SubStream>
1108
1108
class ParamsStream
1109
1109
{
1110
1110
const Params& m_params;
1111
- SubStream& m_substream; // private to avoid leaking version/type into serialization code that shouldn't see it
1111
+ SubStream& m_substream;
1112
1112
1113
1113
public:
1114
1114
ParamsStream (const Params& params LIFETIMEBOUND, SubStream& substream LIFETIMEBOUND) : m_params{params}, m_substream{substream} {}
@@ -1119,8 +1119,6 @@ class ParamsStream
1119
1119
void ignore (size_t num) { m_substream.ignore (num); }
1120
1120
bool eof () const { return m_substream.eof (); }
1121
1121
size_t size () const { return m_substream.size (); }
1122
- int GetVersion () = delete; // Deprecated with Params usage
1123
- int GetType () = delete; // Deprecated with Params usage
1124
1122
1125
1123
// ! Get reference to stream parameters.
1126
1124
template <typename P>
You can’t perform that action at this time.
0 commit comments