Declare wallet.h functions inline

pull/308/head
Pieter Wuille 8 years ago
parent c9bdf9a75f
commit 2ca882ad41

@ -134,7 +134,7 @@ struct CRecipient
typedef std::map<std::string, std::string> mapValue_t; 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")) 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) if (nOrderPos == -1)
return; return;

Loading…
Cancel
Save