Changeset 141:df696adabe8f in rrlib_logging


Ignore:
Timestamp:
04.05.2020 23:05:35 (4 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
14.08
Phase:
public
Message:

Fixes compiler warning with gcc 9.3 ('catching polymorphic type by value')

File:
1 edited

Legend:

Unmodified
Added
Removed
  • messages/tFanOutBuffer.h

    r110 r141  
    120120      this->formatting_buffers.push_back(formatting_buffer); 
    121121    } 
    122     catch (std::bad_cast) 
     122    catch (const std::bad_cast&) 
    123123    { 
    124124      this->buffers.push_back(&stream_buffer); 
Note: See TracChangeset for help on using the changeset viewer.