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,18 +51,9 @@ public:
|
||||
void setValue( double value );
|
||||
void setValue( const QString& value );
|
||||
|
||||
bool isValid() const
|
||||
{
|
||||
return m_valueType != TYPE_NONE;
|
||||
}
|
||||
bool isNumeric() const
|
||||
{
|
||||
return m_valueType == TYPE_NUMERIC;
|
||||
}
|
||||
bool isText() const
|
||||
{
|
||||
return m_valueType == TYPE_TEXT;
|
||||
}
|
||||
bool isValid() const { return m_valueType != TYPE_NONE; }
|
||||
bool isNumeric() const { return m_valueType == TYPE_NUMERIC; }
|
||||
bool isText() const { return m_valueType == TYPE_TEXT; }
|
||||
|
||||
double numericValue() const;
|
||||
const QString& textValue() const;
|
||||
|
||||
Reference in New Issue
Block a user