mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
This commit is contained in:
@@ -37,10 +37,7 @@ public:
|
||||
void addPlotItem( QwtPlotItem* plotItem );
|
||||
void addLegendItem( QwtPlotItem* legendItem );
|
||||
|
||||
int rtti() const override
|
||||
{
|
||||
return 5000;
|
||||
}
|
||||
int rtti() const override { return 5000; }
|
||||
void draw( QPainter* painter, const QwtScaleMap& xMap, const QwtScaleMap& yMap, const QRectF& canvasRect ) const override;
|
||||
QRectF boundingRect() const override;
|
||||
QwtGraphic legendIcon( int index, const QSizeF& size ) const override;
|
||||
|
||||
Reference in New Issue
Block a user