Fix clang-tidy

This commit is contained in:
Alexey Milovidov 2021-05-05 13:36:54 +03:00
parent d585cfbe46
commit 75feb0c599
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ OwnPatternFormatter::OwnPatternFormatter(bool color_)
}
void OwnPatternFormatter::formatExtended(const DB::ExtendedLogMessage & msg_ext, std::string & text)
void OwnPatternFormatter::formatExtended(const DB::ExtendedLogMessage & msg_ext, std::string & text) const
{
DB::WriteBufferFromString wb(text);

View File

@ -27,7 +27,7 @@ public:
OwnPatternFormatter(bool color_ = false);
void format(const Poco::Message & msg, std::string & text) override;
void formatExtended(const DB::ExtendedLogMessage & msg_ext, std::string & text);
void formatExtended(const DB::ExtendedLogMessage & msg_ext, std::string & text) const;
private:
bool color;