mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove undefined behavior (sequence point ordering).
This commit is contained in:
parent
03b1a31ff3
commit
59621e38f7
@ -1729,7 +1729,8 @@ void RiaGuiApplication::runIdleProcessing()
|
||||
}
|
||||
else
|
||||
{
|
||||
idleIterationCount = std::min( ++idleIterationCount, 500 );
|
||||
++idleIterationCount;
|
||||
idleIterationCount = std::min( idleIterationCount, 500 );
|
||||
if ( idleIterationCount == 500 )
|
||||
{
|
||||
iterationInterval = 5;
|
||||
|
Loading…
Reference in New Issue
Block a user