From 2ca882ad41f170e705e71766d2b20ea08dbd6a7a Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Wed, 2 Nov 2016 17:29:16 -0700 Subject: [PATCH] Declare wallet.h functions inline --- src/wallet/wallet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index d7d1f5513a..cb48da4461 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -134,7 +134,7 @@ struct CRecipient typedef std::map mapValue_t; -static void ReadOrderPos(int64_t& nOrderPos, mapValue_t& mapValue) +static inline void ReadOrderPos(int64_t& nOrderPos, mapValue_t& mapValue) { if (!mapValue.count("n")) { @@ -145,7 +145,7 @@ static void ReadOrderPos(int64_t& nOrderPos, mapValue_t& mapValue) } -static void WriteOrderPos(const int64_t& nOrderPos, mapValue_t& mapValue) +static inline void WriteOrderPos(const int64_t& nOrderPos, mapValue_t& mapValue) { if (nOrderPos == -1) return;