mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Format first-party source according to .clang-format
This commit is contained in:
committed by
manojsdoshi
parent
65dfc5d19e
commit
50760c6935
@@ -17,28 +17,27 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#include <ripple/protocol/STBlob.h>
|
||||
#include <ripple/basics/StringUtilities.h>
|
||||
#include <ripple/protocol/STBlob.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
STBlob::STBlob (SerialIter& st, SField const& name)
|
||||
: STBase (name)
|
||||
, value_ (st.getVLBuffer ())
|
||||
STBlob::STBlob(SerialIter& st, SField const& name)
|
||||
: STBase(name), value_(st.getVLBuffer())
|
||||
{
|
||||
}
|
||||
|
||||
std::string
|
||||
STBlob::getText () const
|
||||
STBlob::getText() const
|
||||
{
|
||||
return strHex (value_);
|
||||
return strHex(value_);
|
||||
}
|
||||
|
||||
bool
|
||||
STBlob::isEquivalent (const STBase& t) const
|
||||
STBlob::isEquivalent(const STBase& t) const
|
||||
{
|
||||
const STBlob* v = dynamic_cast<const STBlob*> (&t);
|
||||
const STBlob* v = dynamic_cast<const STBlob*>(&t);
|
||||
return v && (value_ == v->value_);
|
||||
}
|
||||
|
||||
} // ripple
|
||||
} // namespace ripple
|
||||
|
||||
Reference in New Issue
Block a user