Merge #9071: Declare wallet.h functions inline

2ca882a Declare wallet.h functions inline (Pieter Wuille)
This commit is contained in:
Wladimir J. van der Laan 2016-11-03 10:19:59 +01:00
commit d1871da7fe
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 2 additions and 2 deletions

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;