mirror of
https://github.com/XRPLF/rippled.git
synced 2026-01-08 16:56:56 +00:00
Remove nested types SField::ref and SField::ptr...
* This silences a warning about a redundant cv-qualifier. * This makes future coding mistakes about redundant cv-qualifiers much less likely. * This makes the code easier to read.
This commit is contained in:
committed by
Tom Ritchford
parent
47482acf83
commit
100a76f0e8
@@ -22,7 +22,7 @@
|
||||
|
||||
namespace ripple {
|
||||
|
||||
STAccount::STAccount (SerialIter& sit, SField::ref name)
|
||||
STAccount::STAccount (SerialIter& sit, SField const& name)
|
||||
: STAccount(name, sit.getVLBuffer())
|
||||
{
|
||||
}
|
||||
@@ -40,12 +40,12 @@ std::string STAccount::getText () const
|
||||
}
|
||||
|
||||
STAccount*
|
||||
STAccount::construct (SerialIter& u, SField::ref name)
|
||||
STAccount::construct (SerialIter& u, SField const& name)
|
||||
{
|
||||
return new STAccount (name, u.getVLBuffer ());
|
||||
}
|
||||
|
||||
STAccount::STAccount (SField::ref n, Account const& v)
|
||||
STAccount::STAccount (SField const& n, Account const& v)
|
||||
: STBlob (n, v.data (), v.size ())
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user