Merge pull request #4206

79d06dc Remove redundant c_str (R E Broadley)
This commit is contained in:
Wladimir J. van der Laan
2014-05-25 16:20:21 +02:00
7 changed files with 15 additions and 15 deletions

View File

@@ -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());
}
};