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:
@@ -67,18 +67,12 @@ public:
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t cellCount() const
|
||||
{
|
||||
return m_cellCount;
|
||||
}
|
||||
size_t cellCount() const { return m_cellCount; }
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t streamedValueCount() const
|
||||
{
|
||||
return m_streamedValueCount;
|
||||
}
|
||||
size_t streamedValueCount() const { return m_streamedValueCount; }
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -255,10 +249,7 @@ protected:
|
||||
m_cellCount = activeCellInfo->reservoirActiveCellCount();
|
||||
}
|
||||
|
||||
double cellResult( size_t currentCellIndex ) const override
|
||||
{
|
||||
return ( *m_resultValues )[currentCellIndex];
|
||||
}
|
||||
double cellResult( size_t currentCellIndex ) const override { return ( *m_resultValues )[currentCellIndex]; }
|
||||
|
||||
void setCellResult( size_t currentCellIndex, double value ) override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user