mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Apply clang-tidy modernize-use-equals-default check
This commit is contained in:
@@ -72,11 +72,6 @@ codePointToUTF8 (unsigned int cp)
|
||||
// Class Reader
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
|
||||
Reader::Reader ()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
Reader::parse ( std::string const& document,
|
||||
Value& root)
|
||||
|
||||
@@ -30,16 +30,10 @@ const Int Value::minInt = Int ( ~ (UInt (-1) / 2) );
|
||||
const Int Value::maxInt = Int ( UInt (-1) / 2 );
|
||||
const UInt Value::maxUInt = UInt (-1);
|
||||
|
||||
ValueAllocator::~ValueAllocator ()
|
||||
{
|
||||
}
|
||||
|
||||
class DefaultValueAllocator : public ValueAllocator
|
||||
{
|
||||
public:
|
||||
~DefaultValueAllocator () override
|
||||
{
|
||||
}
|
||||
virtual ~DefaultValueAllocator() = default;
|
||||
|
||||
char* makeMemberName ( const char* memberName ) override
|
||||
{
|
||||
|
||||
@@ -157,9 +157,6 @@ ValueIteratorBase::memberName () const
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
|
||||
ValueConstIterator::ValueConstIterator ()
|
||||
{
|
||||
}
|
||||
|
||||
ValueConstIterator::ValueConstIterator ( const Value::ObjectValues::iterator& current )
|
||||
: ValueIteratorBase ( current )
|
||||
@@ -182,10 +179,6 @@ ValueConstIterator::operator = ( const ValueIteratorBase& other )
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
|
||||
ValueIterator::ValueIterator ()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
ValueIterator::ValueIterator ( const Value::ObjectValues::iterator& current )
|
||||
: ValueIteratorBase ( current )
|
||||
|
||||
@@ -181,9 +181,6 @@ std::string valueToQuotedString ( const char* value )
|
||||
// Class FastWriter
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
|
||||
FastWriter::FastWriter ()
|
||||
{
|
||||
}
|
||||
|
||||
std::string
|
||||
FastWriter::write ( const Value& root )
|
||||
|
||||
Reference in New Issue
Block a user