Replace LEDGER_JSON_ macros with an enum.

This commit is contained in:
Tom Ritchford
2015-02-24 11:31:15 -05:00
parent fc661c83ef
commit ac228deeda
4 changed files with 11 additions and 14 deletions

View File

@@ -928,7 +928,7 @@ Ledger::pointer Ledger::getSQL (std::string const& sql)
{
WriteLog (lsERROR, Ledger) << "Failed on ledger";
Json::Value p;
addJson (p, {*ret, LEDGER_JSON_FULL});
addJson (p, {*ret, LedgerFill::full});
WriteLog (lsERROR, Ledger) << p;
}