aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.h
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-09-29 12:13:10 +0200
committerVasil Dimov <vd@FreeBSD.org>2020-10-31 17:02:52 +0100
commit89836a82eec63f93bbe6c3bd6a52be26e71ab54d (patch)
tree88c83651978d9f9917cafe9a5ccbb5459205e50d /src/netaddress.h
parentec9b4492eba5d32ab833d511984756601d3f39b0 (diff)
downloadbitcoin-89836a82eec63f93bbe6c3bd6a52be26e71ab54d.tar.xz
style: minor improvements as a followup to #19845
Address suggestions: https://github.com/bitcoin/bitcoin/pull/19845#discussion_r495486760 https://github.com/bitcoin/bitcoin/pull/19845#discussion_r495488051 https://github.com/bitcoin/bitcoin/pull/19845#discussion_r495730125
Diffstat (limited to 'src/netaddress.h')
-rw-r--r--src/netaddress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.h b/src/netaddress.h
index 59f1b87ad3..708cbd2095 100644
--- a/src/netaddress.h
+++ b/src/netaddress.h
@@ -29,7 +29,7 @@
* Make sure that this does not collide with any of the values in `version.h`
* or with `SERIALIZE_TRANSACTION_NO_WITNESS`.
*/
-static const int ADDRV2_FORMAT = 0x20000000;
+static constexpr int ADDRV2_FORMAT = 0x20000000;
/**
* A network type.