Cleanups and surface reduction:

* Don't use friendship unless needed
* Trim down interfaces
* Make classes feel more like std containers
This commit is contained in:
Nik Bougalis
2014-09-26 22:00:17 -07:00
parent cfb6b678f1
commit 8835af11d5
14 changed files with 184 additions and 301 deletions

View File

@@ -431,9 +431,7 @@ AmendmentTableImpl::doValidation (Ledger::ref lastClosedLedger,
STVector256 vAmendments (sfAmendments);
for (auto const& uAmendment : lAmendments)
{
vAmendments.addValue (uAmendment);
}
vAmendments.push_back (uAmendment);
vAmendments.sort ();
baseValidation.setFieldV256 (sfAmendments, vAmendments);
}