Skip to content

Commit 3f0eb9c

Browse files
committed
Fixes by clang-format
1 parent 2b73526 commit 3f0eb9c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ApplicationLibCode/ProjectDataModelCommands/RimcWellEventTimeline.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,16 +492,14 @@ std::expected<caf::PdmObjectHandle*, QString> RimcWellEventTimeline_generateSche
492492
QDateTime lastTimestamp = timeline->lastAppliedTimestamp();
493493

494494
// If no timestamp was set, use all events
495-
std::vector<QDateTime> dates;
495+
std::vector<QDateTime> dates;
496496
std::vector<RimWellPath*> wellPathsWithEvents;
497497

498498
if ( lastTimestamp.isValid() )
499499
{
500500
// Filter to only include dates up to the last applied timestamp
501501
dates = timeline->getAllEventDates();
502-
dates.erase( std::remove_if( dates.begin(),
503-
dates.end(),
504-
[&lastTimestamp]( const QDateTime& date ) { return date > lastTimestamp; } ),
502+
dates.erase( std::remove_if( dates.begin(), dates.end(), [&lastTimestamp]( const QDateTime& date ) { return date > lastTimestamp; } ),
505503
dates.end() );
506504

507505
// Get only well paths that have events up to the last applied timestamp

0 commit comments

Comments
 (0)