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)
11031103 return (SizeComputer () << t).size ();
11041104}
11051105
1106- /* * Wrapper that overrides the GetParams() function of a stream (and hides GetVersion/GetType) . */
1106+ /* * Wrapper that overrides the GetParams() function of a stream. */
11071107template <typename Params, typename SubStream>
11081108class ParamsStream
11091109{
11101110 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;
11121112
11131113public:
11141114 ParamsStream (const Params& params LIFETIMEBOUND, SubStream& substream LIFETIMEBOUND) : m_params{params}, m_substream{substream} {}
@@ -1119,8 +1119,6 @@ class ParamsStream
11191119 void ignore (size_t num) { m_substream.ignore (num); }
11201120 bool eof () const { return m_substream.eof (); }
11211121 size_t size () const { return m_substream.size (); }
1122- int GetVersion () = delete; // Deprecated with Params usage
1123- int GetType () = delete; // Deprecated with Params usage
11241122
11251123 // ! Get reference to stream parameters.
11261124 template <typename P>
You can’t perform that action at this time.
0 commit comments