Changeset 146:aef0b98e0760 in rrlib_logging


Ignore:
Timestamp:
06.02.2021 21:17:15 (17 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
147:2a1e06eca359, 148:6f794e779e60
Phase:
public
Message:

Fixes compiler warnings that appear with additional non-default warning options enabled

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • configuration/tConfiguration.h

    r111 r146  
    174174  } 
    175175 
    176   inline const tLogLevel MaxMessageLevel() const 
     176  inline tLogLevel MaxMessageLevel() const 
    177177  { 
    178178    return this->max_message_level; 
  • configuration/tDomainRegistry.h

    r119 r146  
    159159   * \returns Whether the columns in prefix output should be padded or not 
    160160   */ 
    161   inline const bool GetPadPrefixColumns() const 
     161  inline bool GetPadPrefixColumns() const 
    162162  { 
    163163    return this->pad_prefix_columns; 
     
    187187   * \returns Whether the rows should be padded or not 
    188188   */ 
    189   inline const bool GetPadMultiLineMessages() const 
     189  inline bool GetPadMultiLineMessages() const 
    190190  { 
    191191    return this->pad_multi_line_messages; 
  • messages/tFormattingBuffer.cpp

    r127 r146  
    9090 
    9191tFormattingBuffer::tFormattingBuffer(const tFormattingBuffer &other) : 
     92  std::streambuf(other), 
    9293  sink(other.sink), 
    9394  ends_with_newline(other.ends_with_newline), 
     
    106107  if (this != &other) 
    107108  { 
     109    std::streambuf::operator=(other); 
    108110    this->sink = other.sink; 
    109111    this->ends_with_newline = other.ends_with_newline; 
Note: See TracChangeset for help on using the changeset viewer.