aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-11-25 12:28:21 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-11-25 14:56:30 +0100
commitfa2c991ec93bc72d276f0dcd747b3e57c246139b (patch)
treedddc7e075639d1128b8ec4137379588e969f2624 /src/interfaces
parent76392b042e98fcdb3b7ce3c2023003910326d14e (diff)
downloadbitcoin-fa2c991ec93bc72d276f0dcd747b3e57c246139b.tar.xz
refactor: Use underlying type of isminetype for isminefilter
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/wallet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h
index 490563426c..a56ed8802d 100644
--- a/src/interfaces/wallet.h
+++ b/src/interfaces/wallet.h
@@ -13,12 +13,13 @@
#include <util/message.h>
#include <util/ui_change_type.h>
+#include <cstdint>
#include <functional>
#include <map>
#include <memory>
-#include <stdint.h>
#include <string>
#include <tuple>
+#include <type_traits>
#include <utility>
#include <vector>
@@ -34,7 +35,7 @@ struct CRecipient;
struct PartiallySignedTransaction;
struct WalletContext;
struct bilingual_str;
-typedef uint8_t isminefilter;
+using isminefilter = std::underlying_type<isminetype>::type;
namespace interfaces {