diff options
| author | Pieter Wuille <[email protected]> | 2020-02-06 19:57:32 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2020-02-10 12:00:10 -0800 |
| commit | 0e0fa27acb74b4f0075afcf59a0dff51a21baddb (patch) | |
| tree | 5e5e97c659eb49c6578f768ed9bd347eb1d98cf5 /src/flatfile.h | |
| parent | Merge #18051: build: Fix behavior when ALLOW_HOST_PACKAGES unset (diff) | |
| download | discoin-0e0fa27acb74b4f0075afcf59a0dff51a21baddb.tar.xz discoin-0e0fa27acb74b4f0075afcf59a0dff51a21baddb.zip | |
Get rid of VARINT default argument
This removes the need for the GNU C++ extension of variadic macros.
Diffstat (limited to 'src/flatfile.h')
| -rw-r--r-- | src/flatfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flatfile.h b/src/flatfile.h index 374ceff41..d80682d38 100644 --- a/src/flatfile.h +++ b/src/flatfile.h @@ -20,7 +20,7 @@ struct FlatFilePos template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action) { - READWRITE(VARINT(nFile, VarIntMode::NONNEGATIVE_SIGNED)); + READWRITE(VARINT_MODE(nFile, VarIntMode::NONNEGATIVE_SIGNED)); READWRITE(VARINT(nPos)); } |