code formatting
This commit is contained in:
		
							parent
							
								
									102c31a04c
								
							
						
					
					
						commit
						b7a6659451
					
				@ -197,7 +197,6 @@ inline void wbuf_to_utf8buf(const fmt::wmemory_buffer &wbuf, fmt::memory_buffer
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
template<typename... Args>
 | 
					template<typename... Args>
 | 
				
			||||||
inline void spdlog::logger::log(level::level_enum lvl, const wchar_t *fmt, const Args &... args)
 | 
					inline void spdlog::logger::log(level::level_enum lvl, const wchar_t *fmt, const Args &... args)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
@ -22,10 +22,10 @@
 | 
				
			|||||||
#include "spdlog/formatter.h"
 | 
					#include "spdlog/formatter.h"
 | 
				
			||||||
#include "spdlog/sinks/sink.h"
 | 
					#include "spdlog/sinks/sink.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <locale>
 | 
				
			||||||
#include <memory>
 | 
					#include <memory>
 | 
				
			||||||
#include <string>
 | 
					#include <string>
 | 
				
			||||||
#include <vector>
 | 
					#include <vector>
 | 
				
			||||||
#include <locale>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace spdlog {
 | 
					namespace spdlog {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -22,7 +22,6 @@ void test_pad6(std::size_t n, const char* expected)
 | 
				
			|||||||
    REQUIRE(fmt::to_string(buf) == expected);
 | 
					    REQUIRE(fmt::to_string(buf) == expected);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
TEST_CASE("pad2", "[fmt_helper]")
 | 
					TEST_CASE("pad2", "[fmt_helper]")
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    test_pad2(0, "00");
 | 
					    test_pad2(0, "00");
 | 
				
			||||||
@ -43,7 +42,6 @@ TEST_CASE("pad3", "[fmt_helper]")
 | 
				
			|||||||
    test_pad3(-5, "-05");
 | 
					    test_pad3(-5, "-05");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
TEST_CASE("pad6", "[fmt_helper]")
 | 
					TEST_CASE("pad6", "[fmt_helper]")
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    test_pad6(0, "000000");
 | 
					    test_pad6(0, "000000");
 | 
				
			||||||
@ -54,4 +52,3 @@ TEST_CASE("pad6", "[fmt_helper]")
 | 
				
			|||||||
    test_pad6(12345, "012345");
 | 
					    test_pad6(12345, "012345");
 | 
				
			||||||
    test_pad6(123456, "123456");
 | 
					    test_pad6(123456, "123456");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user