aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-11-03 10:19:59 +0100
committerWladimir J. van der Laan <[email protected]>2016-11-03 10:22:11 +0100
commitd1871da7fe6389ef4dbcd93457c39258e6f48180 (patch)
tree23382a9a88f6eda69865da418e876659342b9aa9 /src
parentMerge #9053: IBD using chainwork instead of height and not using header times... (diff)
parentDeclare wallet.h functions inline (diff)
downloaddiscoin-d1871da7fe6389ef4dbcd93457c39258e6f48180.tar.xz
discoin-d1871da7fe6389ef4dbcd93457c39258e6f48180.zip
Merge #9071: Declare wallet.h functions inline
2ca882a Declare wallet.h functions inline (Pieter Wuille)
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 8538e029e..57b17d87a 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -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;