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:
@@ -62,32 +62,14 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
static constexpr int allTimeLapsesValue()
|
||||
{
|
||||
return ALL_TIME_LAPSES;
|
||||
}
|
||||
static constexpr int noTimeLapseValue()
|
||||
{
|
||||
return NO_TIME_LAPSE;
|
||||
}
|
||||
static constexpr int noCaseDiffValue()
|
||||
{
|
||||
return NO_CASE_DIFF;
|
||||
}
|
||||
static constexpr int allTimeLapsesValue() { return ALL_TIME_LAPSES; }
|
||||
static constexpr int noTimeLapseValue() { return NO_TIME_LAPSE; }
|
||||
static constexpr int noCaseDiffValue() { return NO_CASE_DIFF; }
|
||||
|
||||
bool isTimeLapse() const
|
||||
{
|
||||
return m_timeLapseBaseFrameIdx > NO_TIME_LAPSE;
|
||||
}
|
||||
bool representsAllTimeLapses() const
|
||||
{
|
||||
return m_timeLapseBaseFrameIdx == ALL_TIME_LAPSES;
|
||||
}
|
||||
bool isTimeLapse() const { return m_timeLapseBaseFrameIdx > NO_TIME_LAPSE; }
|
||||
bool representsAllTimeLapses() const { return m_timeLapseBaseFrameIdx == ALL_TIME_LAPSES; }
|
||||
|
||||
bool hasDifferenceCase() const
|
||||
{
|
||||
return m_differenceCaseId > NO_CASE_DIFF;
|
||||
}
|
||||
bool hasDifferenceCase() const { return m_differenceCaseId > NO_CASE_DIFF; }
|
||||
|
||||
bool operator<( const RigEclipseResultAddress& other ) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user