Get rid of VARINT default argument

This removes the need for the GNU C++ extension of variadic macros.
This commit is contained in:
Pieter Wuille
2020-02-06 19:57:32 -08:00
parent 646f0ada02
commit 0e0fa27acb
6 changed files with 22 additions and 21 deletions

View File

@@ -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));
}