mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 11:55:51 +00:00 
			
		
		
		
	[CI] clang-tidy auto fixes (#1270)
Fixes #1269. 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
						
							a1243da956
						
					
				
				
					commit
					94706bfff9
				
			@@ -702,8 +702,8 @@ public:
 | 
			
		||||
        std::optional<ripple::AccountID> lastItem;
 | 
			
		||||
 | 
			
		||||
        while (liveAccounts.size() < number) {
 | 
			
		||||
            Statement statement = lastItem ? schema_->selectAccountFromToken.bind(*lastItem, Limit{pageSize})
 | 
			
		||||
                                           : schema_->selectAccountFromBegining.bind(Limit{pageSize});
 | 
			
		||||
            Statement const statement = lastItem ? schema_->selectAccountFromToken.bind(*lastItem, Limit{pageSize})
 | 
			
		||||
                                                 : schema_->selectAccountFromBegining.bind(Limit{pageSize});
 | 
			
		||||
 | 
			
		||||
            auto const res = executor_.read(yield, statement);
 | 
			
		||||
            if (res) {
 | 
			
		||||
 
 | 
			
		||||
@@ -58,6 +58,6 @@ TEST_F(BoolTests, Get)
 | 
			
		||||
TEST_F(BoolTests, DefaultValues)
 | 
			
		||||
{
 | 
			
		||||
    GaugeInt gauge{"test", ""};
 | 
			
		||||
    Bool realBool{gauge};
 | 
			
		||||
    Bool const realBool{gauge};
 | 
			
		||||
    EXPECT_FALSE(realBool);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -130,7 +130,7 @@ TEST_F(GaugeIntTests, multithreadAddAndSubstract)
 | 
			
		||||
 | 
			
		||||
TEST_F(GaugeIntTests, DefaultValue)
 | 
			
		||||
{
 | 
			
		||||
    GaugeInt realGauge{"some_gauge", ""};
 | 
			
		||||
    GaugeInt const realGauge{"some_gauge", ""};
 | 
			
		||||
    EXPECT_EQ(realGauge.value(), 0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -140,7 +140,7 @@ struct GaugeDoubleTests : ::testing::Test {
 | 
			
		||||
 | 
			
		||||
TEST_F(GaugeDoubleTests, DefaultValue)
 | 
			
		||||
{
 | 
			
		||||
    GaugeDouble realGauge{"some_gauge", ""};
 | 
			
		||||
    GaugeDouble const realGauge{"some_gauge", ""};
 | 
			
		||||
    EXPECT_EQ(realGauge.value(), 0.);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user