#5101 clang-format: Allow short functions on a single line

Use AllowShortFunctionsOnASingleLine: InlineOnly
This commit is contained in:
Magne Sjaastad
2020-02-12 11:13:38 +01:00
parent ab9d46ee75
commit 10f0abc9b5
428 changed files with 1519 additions and 1990 deletions

View File

@@ -63,11 +63,8 @@ public:
void reattachQwtCurve();
QwtPlotCurve* qwtPlotCurve() const;
void setColor( const cvf::Color3f& color );
cvf::Color3f color() const
{
return m_curveColor;
}
void setColor( const cvf::Color3f& color );
cvf::Color3f color() const { return m_curveColor; }
void setLineStyle( RiuQwtPlotCurve::LineStyleEnum lineStyle );
void setSymbol( RiuQwtSymbol::PointSymbolEnum symbolStyle );
RiuQwtSymbol::PointSymbolEnum symbol();
@@ -88,10 +85,7 @@ public:
void updateCurveNameAndUpdatePlotLegendAndTitle();
void updateCurveNameNoLegendUpdate();
QString curveName() const
{
return m_curveName;
}
QString curveName() const { return m_curveName; }
virtual QString curveExportDescription( const RifEclipseSummaryAddress& address = RifEclipseSummaryAddress() ) const
{
return m_curveName;