aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2011-08-10 20:01:14 -0700
committerGavin Andresen <[email protected]>2011-08-10 20:01:14 -0700
commit72173ffaca10a8370921b9f64668df142ba818ab (patch)
tree478898274de60ed077c5b62dda5d778fa9bb10b4 /src/db.cpp
parentTest for SO_NOSIGPIPE rather than assuming all BSDs support it. (diff)
parentQualify make_tuple with boost:: namespace. (diff)
downloaddiscoin-72173ffaca10a8370921b9f64668df142ba818ab.tar.xz
discoin-72173ffaca10a8370921b9f64668df142ba818ab.zip
Merge pull request #460 from jgarzik/make-tuple
Qualify make_tuple with boost:: namespace.
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 9c8c9c4f7..b3fa3e173 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;