You no longer need .getFullText() on an operator<< to an ostream.

There's like 25 of them in TransactionEngine.cpp that can be removed when convenient
This commit is contained in:
JoelKatz
2012-09-03 02:30:17 -07:00
parent d5fe3261ab
commit 9977463122
2 changed files with 3 additions and 2 deletions

View File

@@ -838,8 +838,8 @@ bool STAmount::applyOffer(
saTakerPaid = saTakerFunds; // Taker paid all he had.
saTakerGot = divide(multiply(saTakerFunds, saOfferPaysAvailable, CURRENCY_ONE, ACCOUNT_ONE), saOfferGetsAvailable, saOfferPays.getCurrency(), saOfferPays.getIssuer());
Log(lsINFO) << "applyOffer: saTakerGot=" << saTakerGot.getFullText();
Log(lsINFO) << "applyOffer: saOfferPaysAvailable=" << saOfferPaysAvailable.getFullText();
Log(lsINFO) << "applyOffer: saTakerGot=" << saTakerGot;
Log(lsINFO) << "applyOffer: saOfferPaysAvailable=" << saOfferPaysAvailable;
}
return saTakerGot >= saOfferPays;

View File

@@ -100,6 +100,7 @@ public:
inline SerializedType* new_clone(const SerializedType& s) { return s.clone().release(); }
inline void delete_clone(const SerializedType* s) { boost::checked_delete(s); }
inline std::ostream& operator<<(std::ostream& out, const SerializedType& t) { return out << t.getFullText(); }
class STUInt8 : public SerializedType
{