aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-08-10 20:01:14 -0700
committerGavin Andresen <gavinandresen@gmail.com>2011-08-10 20:01:14 -0700
commit72173ffaca10a8370921b9f64668df142ba818ab (patch)
tree478898274de60ed077c5b62dda5d778fa9bb10b4 /src
parentec93a0e2197e8a84789c6c512cee90a66a11f82a (diff)
parent7c3002bf272c56dcc92b463db6d0b793221bfa8a (diff)
Merge pull request #460 from jgarzik/make-tuple
Qualify make_tuple with boost:: namespace.
Diffstat (limited to 'src')
-rw-r--r--src/db.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 9c8c9c4f73..b3fa3e1731 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -610,7 +610,7 @@ bool CWalletDB::WriteAccount(const string& strAccount, const CAccount& account)
bool CWalletDB::WriteAccountingEntry(const CAccountingEntry& acentry)
{
- return Write(make_tuple(string("acentry"), acentry.strAccount, ++nAccountingEntryNumber), acentry);
+ return Write(boost::make_tuple(string("acentry"), acentry.strAccount, ++nAccountingEntryNumber), acentry);
}
int64 CWalletDB::GetAccountCreditDebit(const string& strAccount)
@@ -638,7 +638,7 @@ void CWalletDB::ListAccountCreditDebit(const string& strAccount, list<CAccountin
// Read next record
CDataStream ssKey;
if (fFlags == DB_SET_RANGE)
- ssKey << make_tuple(string("acentry"), (fAllAccounts? string("") : strAccount), uint64(0));
+ ssKey << boost::make_tuple(string("acentry"), (fAllAccounts? string("") : strAccount), uint64(0));
CDataStream ssValue;
int ret = ReadAtCursor(pcursor, ssKey, ssValue, fFlags);
fFlags = DB_NEXT;