Replaced SPDLOG_FINAL macro with final
This commit is contained in:
		@@ -61,7 +61,7 @@ public:
 | 
				
			|||||||
        colors_[level] = color;
 | 
					        colors_[level] = color;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void log(const details::log_msg &msg) SPDLOG_FINAL override
 | 
					    void log(const details::log_msg &msg) final override
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        std::lock_guard<mutex_t> lock(mutex_);
 | 
					        std::lock_guard<mutex_t> lock(mutex_);
 | 
				
			||||||
        fmt::memory_buffer formatted;
 | 
					        fmt::memory_buffer formatted;
 | 
				
			||||||
@@ -85,18 +85,18 @@ public:
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void flush() SPDLOG_FINAL override
 | 
					    void flush() final override
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        // windows console always flushed?
 | 
					        // windows console always flushed?
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void set_pattern(const std::string &pattern) override SPDLOG_FINAL
 | 
					    void set_pattern(const std::string &pattern) override final
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        std::lock_guard<mutex_t> lock(mutex_);
 | 
					        std::lock_guard<mutex_t> lock(mutex_);
 | 
				
			||||||
        formatter_ = std::unique_ptr<spdlog::formatter>(new pattern_formatter(pattern));
 | 
					        formatter_ = std::unique_ptr<spdlog::formatter>(new pattern_formatter(pattern));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) override SPDLOG_FINAL
 | 
					    void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) override final
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        std::lock_guard<mutex_t> lock(mutex_);
 | 
					        std::lock_guard<mutex_t> lock(mutex_);
 | 
				
			||||||
        formatter_ = std::move(sink_formatter);
 | 
					        formatter_ = std::move(sink_formatter);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user