aboutsummaryrefslogtreecommitdiff
path: root/src/util/serfloat.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-06-09 16:26:55 +0100
committerfanquake <fanquake@gmail.com>2022-07-08 11:06:01 +0100
commit07f2c25d04c39a0074e1d9ee1b24b3e359c8153f (patch)
tree167946c643c37689ecaf75756038cc88c8c43fcf /src/util/serfloat.h
parenta7f3479ba3fda4c9fb29bd7080165744c02ee921 (diff)
downloadbitcoin-07f2c25d04c39a0074e1d9ee1b24b3e359c8153f.tar.xz
refactor: add most of src/util to iwyu
These files change infrequently, and not much header shuffling is required. We don't add everything in src/util/ yet, because IWYU makes some dubious suggestions, which I'm going to follow up with upstream.
Diffstat (limited to 'src/util/serfloat.h')
-rw-r--r--src/util/serfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/serfloat.h b/src/util/serfloat.h
index 4d912b0176..343ccb9d3a 100644
--- a/src/util/serfloat.h
+++ b/src/util/serfloat.h
@@ -5,7 +5,7 @@
#ifndef BITCOIN_UTIL_SERFLOAT_H
#define BITCOIN_UTIL_SERFLOAT_H
-#include <stdint.h>
+#include <cstdint>
/* Encode a double using the IEEE 754 binary64 format. All NaNs are encoded as x86/ARM's
* positive quiet NaN with payload 0. */