Declare wallet.h functions inline

This commit is contained in:
Pieter Wuille committed 2016-11-02 17:29:16 -07:00
1 parent c9bdf9a75f
commit 2ca882ad41
1 file changed
+2 -2
+2 -2
View File
@@ -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;