diff options
| author | Pieter Wuille <[email protected]> | 2016-11-02 17:29:16 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-11-02 17:29:16 -0700 |
| commit | 2ca882ad41f170e705e71766d2b20ea08dbd6a7a (patch) | |
| tree | a25be136d40d7a45203682c081d99b37426e1113 /src | |
| parent | Merge #9065: Merge `doc/unit-tests.md` into `src/test/README.md` (diff) | |
| download | discoin-2ca882ad41f170e705e71766d2b20ea08dbd6a7a.tar.xz discoin-2ca882ad41f170e705e71766d2b20ea08dbd6a7a.zip | |
Declare wallet.h functions inline
Diffstat (limited to 'src')
| -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 d7d1f5513..cb48da446 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; |