Browse Source

Format: Fix left shift operator log messages

master
Riyyi 2 years ago
parent
commit
afdd0f8b45
  1. 3
      src/ruc/format/log.h

3
src/ruc/format/log.h

@ -70,7 +70,8 @@ private:
template<typename T>
const LogOperatorStyle& operator<<(const LogOperatorStyle& logOperatorStyle, const T& value)
{
_format(const_cast<LogOperatorStyle&>(logOperatorStyle).builder(), value);
Formatter<T> formatter;
formatter.format(const_cast<LogOperatorStyle&>(logOperatorStyle).builder(), value);
return logOperatorStyle;
}

Loading…
Cancel
Save