aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2020-02-06 19:57:32 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2020-02-10 12:00:10 -0800
commit0e0fa27acb74b4f0075afcf59a0dff51a21baddb (patch)
tree5e5e97c659eb49c6578f768ed9bd347eb1d98cf5 /src/txdb.cpp
parent646f0ada0205ae4b3952107e3b1542f06adda32b (diff)
Get rid of VARINT default argument
This removes the need for the GNU C++ extension of variadic macros.
Diffstat (limited to 'src/txdb.cpp')
-rw-r--r--src/txdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp
index 35bbdab00d..acc47ab45e 100644
--- a/src/txdb.cpp
+++ b/src/txdb.cpp
@@ -339,7 +339,7 @@ public:
::Unserialize(s, Using<TxOutCompression>(vout[i]));
}
// coinbase height
- ::Unserialize(s, VARINT(nHeight, VarIntMode::NONNEGATIVE_SIGNED));
+ ::Unserialize(s, VARINT_MODE(nHeight, VarIntMode::NONNEGATIVE_SIGNED));
}
};