Skip to content

Commit d1871da

Browse files
committed
Merge #9071: Declare wallet.h functions inline
2ca882a Declare wallet.h functions inline (Pieter Wuille)
2 parents 508404d + 2ca882a commit d1871da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/wallet.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ struct CRecipient
134134
typedef std::map<std::string, std::string> mapValue_t;
135135

136136

137-
static void ReadOrderPos(int64_t& nOrderPos, mapValue_t& mapValue)
137+
static inline void ReadOrderPos(int64_t& nOrderPos, mapValue_t& mapValue)
138138
{
139139
if (!mapValue.count("n"))
140140
{
@@ -145,7 +145,7 @@ static void ReadOrderPos(int64_t& nOrderPos, mapValue_t& mapValue)
145145
}
146146

147147

148-
static void WriteOrderPos(const int64_t& nOrderPos, mapValue_t& mapValue)
148+
static inline void WriteOrderPos(const int64_t& nOrderPos, mapValue_t& mapValue)
149149
{
150150
if (nOrderPos == -1)
151151
return;

0 commit comments

Comments
 (0)