Fix comment and clang-format
This commit is contained in:
		@@ -102,10 +102,10 @@ public:
 | 
			
		||||
        log(loc, lvl, string_view_t{msg});
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // T cannot be statically converted to niether string_view, neither wstring_view and niether to format string
 | 
			
		||||
    template<class T, typename std::enable_if<!std::is_convertible<const T &, spdlog::string_view_t>::value 
 | 
			
		||||
        && !is_convertible_to_basic_format_string<const T&>::value,
 | 
			
		||||
            int>::type = 0>
 | 
			
		||||
    // T cannot be statically converted to neither string_view, nor wstring_view and nor format string
 | 
			
		||||
    template<class T, typename std::enable_if<!std::is_convertible<const T &, spdlog::string_view_t>::value &&
 | 
			
		||||
                                                  !is_convertible_to_basic_format_string<const T &>::value,
 | 
			
		||||
                          int>::type = 0>
 | 
			
		||||
    void log(source_loc loc, level::level_enum lvl, const T &msg)
 | 
			
		||||
    {
 | 
			
		||||
        log(loc, lvl, "{}", msg);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user