mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Reduce interface to STAccount (RIPD-994):
Since a non-default STAccount is now guaranteed to always be 160 bits, it was possible to reduce the number of methods that it provides. In the process of narrowing the STAccount interface it became reasonable to remove some methods that duplicated functionality. A few classes offered both a value() and a getValue() method. The getValue() method is removed from those classes.
This commit is contained in:
committed by
Nik Bougalis
parent
f72b14ec36
commit
289bc7deb3
@@ -98,12 +98,6 @@ public:
|
||||
s.addBitString<Bits> (value_);
|
||||
}
|
||||
|
||||
const value_type&
|
||||
getValue () const
|
||||
{
|
||||
return value_;
|
||||
}
|
||||
|
||||
template <typename Tag>
|
||||
void setValue (base_uint<Bits, Tag> const& v)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user