mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 11:55:51 +00:00 
			
		
		
		
	style: clang-tidy auto fixes (#1546)
Fixes #1545. Please review and commit clang-tidy fixes. Co-authored-by: kuznetsss <kuznetsss@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							e16a9510f1
						
					
				
				
					commit
					d6ae890f83
				
			@@ -576,9 +576,8 @@ public:
 | 
			
		||||
            if (auto const result = res->template get<Blob, std::uint32_t>(); result) { 
 | 
			
		||||
                auto [_ ,seq] = result.value();
 | 
			
		||||
                return seq;
 | 
			
		||||
            } else {
 | 
			
		||||
                LOG(log_.debug()) << "Could not fetch ledger object sequence - no rows";
 | 
			
		||||
            }
 | 
			
		||||
            }                 LOG(log_.debug()) << "Could not fetch ledger object sequence - no rows";
 | 
			
		||||
           
 | 
			
		||||
        } else {
 | 
			
		||||
            LOG(log_.error()) << "Could not fetch ledger object sequence: " << res.error();
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,6 @@
 | 
			
		||||
#include <xrpl/basics/base_uint.h>
 | 
			
		||||
#include <xrpl/protocol/AccountID.h>
 | 
			
		||||
#include <xrpl/protocol/UintTypes.h>
 | 
			
		||||
#include <xrpl/protocol/tokens.h>
 | 
			
		||||
 | 
			
		||||
#include <charconv>
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
 
 | 
			
		||||
@@ -46,7 +46,6 @@
 | 
			
		||||
#include <xrpl/protocol/STObject.h>
 | 
			
		||||
#include <xrpl/protocol/Serializer.h>
 | 
			
		||||
#include <xrpl/protocol/jss.h>
 | 
			
		||||
#include <xrpl/protocol/tokens.h>
 | 
			
		||||
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
#include <functional>
 | 
			
		||||
 
 | 
			
		||||
@@ -43,7 +43,6 @@
 | 
			
		||||
#include <xrpl/protocol/Serializer.h>
 | 
			
		||||
#include <xrpl/protocol/UintTypes.h>
 | 
			
		||||
#include <xrpl/protocol/jss.h>
 | 
			
		||||
#include <xrpl/protocol/tokens.h>
 | 
			
		||||
 | 
			
		||||
#include <algorithm>
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
@@ -174,7 +173,7 @@ LedgerEntryHandler::process(LedgerEntryHandler::Input input, Context const& ctx)
 | 
			
		||||
        ledgerObject = sharedPtrBackend_->fetchLedgerObject(key, deletedSeq.value() - 1, ctx.yield);
 | 
			
		||||
        if (!ledgerObject || ledgerObject->empty()) 
 | 
			
		||||
            return Error{Status{"entryNotFound"}};
 | 
			
		||||
        output.deletedLedgerIndex = deletedSeq.value();
 | 
			
		||||
        output.deletedLedgerIndex = deletedSeq;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    ripple::STLedgerEntry const sle{ripple::SerialIter{ledgerObject->data(), ledgerObject->size()}, key};
 | 
			
		||||
 
 | 
			
		||||
@@ -45,7 +45,6 @@
 | 
			
		||||
#include <xrpl/protocol/TER.h>
 | 
			
		||||
#include <xrpl/protocol/TxFormats.h>
 | 
			
		||||
#include <xrpl/protocol/UintTypes.h>
 | 
			
		||||
#include <xrpl/protocol/tokens.h>
 | 
			
		||||
 | 
			
		||||
#include <algorithm>
 | 
			
		||||
#include <chrono>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user