Browse Source

Declare wallet.h functions inline

0.14
Pieter Wuille 8 years ago
parent
commit
2ca882ad41
  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