partial merge #9039: OverrideStream changes from Make nType and nVersion private and sometimes const commit

This commit is contained in:
UdjinM6 2021-05-26 15:24:20 +03:00
parent 95209acdc3
commit ade894eb0f
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -26,10 +26,11 @@ template<typename Stream>
class OverrideStream
{
Stream* stream;
public:
const int nType;
const int nVersion;
public:
OverrideStream(Stream* stream_, int nType_, int nVersion_) : stream(stream_), nType(nType_), nVersion(nVersion_) {}
template<typename T>