diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-11-02 17:29:16 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-11-02 17:29:16 -0700 |
commit | 2ca882ad41f170e705e71766d2b20ea08dbd6a7a (patch) | |
tree | a25be136d40d7a45203682c081d99b37426e1113 /src/wallet | |
parent | c9bdf9a75f9fde8cd011e4aa94be4ed4347078a3 (diff) |
Declare wallet.h functions inline
Diffstat (limited to 'src/wallet')
-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 d7d1f5513a..cb48da4461 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; |