Declare wallet.h functions inline

This commit is contained in:
Pieter Wuille 2016-11-02 17:29:16 -07:00
parent c9bdf9a75f
commit 2ca882ad41

View file

@ -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;