From ade894eb0f0b29a1b6fbbdf6018632bacfa601c8 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 26 May 2021 15:24:20 +0300 Subject: [PATCH] partial merge #9039: `OverrideStream` changes from `Make nType and nVersion private and sometimes const` commit --- src/streams.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/streams.h b/src/streams.h index 5d0be5ab9c..e549d4f811 100644 --- a/src/streams.h +++ b/src/streams.h @@ -26,10 +26,11 @@ template 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