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:
@@ -51,10 +51,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
bool isValid() const override
|
||||
{
|
||||
return m_summaryPlot.notNull();
|
||||
}
|
||||
bool isValid() const override { return m_summaryPlot.notNull(); }
|
||||
|
||||
QString description() const override
|
||||
{
|
||||
@@ -95,10 +92,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
int tabCount() const override
|
||||
{
|
||||
return (int)tabs().size();
|
||||
}
|
||||
int tabCount() const override { return (int)tabs().size(); }
|
||||
|
||||
private:
|
||||
static DateTimePeriod indexToPeriod( int tabIndex )
|
||||
@@ -132,10 +126,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
bool isValid() const override
|
||||
{
|
||||
return m_crossPlot.notNull();
|
||||
}
|
||||
bool isValid() const override { return m_crossPlot.notNull(); }
|
||||
|
||||
QString description() const override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user