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:
@@ -501,10 +501,7 @@ public:
|
||||
std::list<std::pair<bool, std::deque<size_t>>>::iterator branchLineIt;
|
||||
bool toFrontOfBranchLine;
|
||||
|
||||
bool operator<( const DistToEndPoint& other ) const
|
||||
{
|
||||
return dist < other.dist;
|
||||
}
|
||||
bool operator<( const DistToEndPoint& other ) const { return dist < other.dist; }
|
||||
};
|
||||
|
||||
auto cmp = []( std::list<std::pair<bool, std::deque<size_t>>>::iterator a,
|
||||
@@ -645,10 +642,7 @@ public:
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigWellResultFrame splittedWellResultFrame()
|
||||
{
|
||||
return m_branchedWell;
|
||||
}
|
||||
RigWellResultFrame splittedWellResultFrame() { return m_branchedWell; }
|
||||
|
||||
private:
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user