diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-03 10:19:59 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-03 10:22:11 +0100 |
commit | d1871da7fe6389ef4dbcd93457c39258e6f48180 (patch) | |
tree | 23382a9a88f6eda69865da418e876659342b9aa9 /src/wallet/wallet.h | |
parent | 508404de98a8a5435f52916cef8f328e82651961 (diff) | |
parent | 2ca882ad41f170e705e71766d2b20ea08dbd6a7a (diff) | |
download | bitcoin-d1871da7fe6389ef4dbcd93457c39258e6f48180.tar.xz |
Merge #9071: Declare wallet.h functions inline
2ca882a Declare wallet.h functions inline (Pieter Wuille)
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 8538e029e5..57b17d87ad 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -134,7 +134,7 @@ struct CRecipient typedef std::map<std::string, std::string> 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; |