mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-10 08:15:31 -06:00
Fixes by clang-tidy
This commit is contained in:
1 parent
a878ae3563
commit
5d26f53472
1 file changed
+1
-1
@@ -606,7 +606,7 @@ bool RifOpmFlowDeckFile::appendDateKeywords( const std::vector<std::time_t>& dat
|
||||
if ( m_fileDeck.get() == nullptr ) return false;
|
||||
|
||||
auto kws = keywords();
|
||||
if ( kws.size() < 1 ) return false;
|
||||
if ( kws.empty() ) return false;
|
||||
|
||||
auto lastIdx = internal::positionToIndex( (int)kws.size() - 1, m_fileDeck );
|
||||
if ( !lastIdx.has_value() ) return false;
|
||||
|
||||
Reference in new issue
Block a user