Replace calls to new(). (#243)

* Replace all unavoidable uses of `new` with `std::make_unique` or
  `std::make_shared`.

* Fix some 80-column issues.
This commit is contained in:
Tom Ritchford
2015-08-10 11:37:59 -04:00
committed by Scott Schurr
parent ef51128270
commit d5193a776e
12 changed files with 35 additions and 41 deletions

View File

@@ -39,12 +39,6 @@ std::string STAccount::getText () const
return toBase58(u);
}
STAccount*
STAccount::construct (SerialIter& u, SField const& name)
{
return new STAccount (name, u.getVLBuffer ());
}
STAccount::STAccount (SField const& n, AccountID const& v)
: STBlob (n, v.data (), v.size ())
{