aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-25 16:20:21 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-25 16:46:49 +0200
commit73f7153f435a2f04ecfa18cc1b1b0232120169d6 (patch)
treea8dfe43423e8799de57076cb3652ead1e9df7d95 /src/wallet.h
parent0f1040ba5213bde402e8ac9c1e4da91ca319c9de (diff)
parent79d06dc6e07103b31b530f71b7187ea82c34266b (diff)
Merge pull request #4206
79d06dc Remove redundant c_str (R E Broadley)
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.h b/src/wallet.h
index 5e9af191cc..96074151ad 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -719,12 +719,12 @@ public:
std::string ToString() const
{
- return strprintf("COutput(%s, %d, %d) [%s]", tx->GetHash().ToString().c_str(), i, nDepth, FormatMoney(tx->vout[i].nValue).c_str());
+ return strprintf("COutput(%s, %d, %d) [%s]", tx->GetHash().ToString(), i, nDepth, FormatMoney(tx->vout[i].nValue).c_str());
}
void print() const
{
- LogPrintf("%s\n", ToString().c_str());
+ LogPrintf("%s\n", ToString());
}
};