mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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:
committed by
Scott Schurr
parent
ef51128270
commit
d5193a776e
@@ -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 ())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user