Browse Source

Merge #9071: Declare wallet.h functions inline

2ca882a Declare wallet.h functions inline (Pieter Wuille)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
d1871da7fe
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      src/wallet/wallet.h

4
src/wallet/wallet.h

@ -134,7 +134,7 @@ struct CRecipient @@ -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) @@ -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;

Loading…
Cancel
Save