Remove redundant c_str

This commit is contained in:
R E Broadley
2014-05-21 18:50:46 +08:00
parent 6fcdad787f
commit 79d06dc6e0
7 changed files with 15 additions and 15 deletions

View File

@@ -720,12 +720,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());
}
};