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:
@@ -216,18 +216,9 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
int size() const
|
||||
{
|
||||
return m_count;
|
||||
}
|
||||
size_t vxId( int idx ) const
|
||||
{
|
||||
return m_vxIds[idx];
|
||||
}
|
||||
float weight( int idx ) const
|
||||
{
|
||||
return m_weights[idx];
|
||||
}
|
||||
int size() const { return m_count; }
|
||||
size_t vxId( int idx ) const { return m_vxIds[idx]; }
|
||||
float weight( int idx ) const { return m_weights[idx]; }
|
||||
|
||||
private:
|
||||
std::array<size_t, 8> m_vxIds;
|
||||
|
||||
Reference in New Issue
Block a user