Skip to content

Commit

Permalink
partial merge bitcoin#9039: OverrideStream changes from `Make nType…
Browse files Browse the repository at this point in the history
… and nVersion private and sometimes const` commit
  • Loading branch information
UdjinM6 committed May 27, 2021
1 parent 95209ac commit ade894e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/streams.h
Expand Up @@ -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>
Expand Down

0 comments on commit ade894e

Please sign in to comment.