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:
Howard Hinnant
2015-04-21 21:33:48 -04:00
committed by Tom Ritchford
parent 47482acf83
commit 100a76f0e8
30 changed files with 198 additions and 197 deletions

View File

@@ -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 ())
{
}