From 5d26f53472ec6ef51133cc667314eca24123cfa2 Mon Sep 17 00:00:00 2001 From: magnesj <1793152+magnesj@users.noreply.github.com> Date: Wed, 8 Oct 2025 02:36:37 +0000 Subject: [PATCH] Fixes by clang-tidy --- ApplicationLibCode/FileInterface/RifOpmFlowDeckFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationLibCode/FileInterface/RifOpmFlowDeckFile.cpp b/ApplicationLibCode/FileInterface/RifOpmFlowDeckFile.cpp index 6261a3b41e..c4b83ee9eb 100644 --- a/ApplicationLibCode/FileInterface/RifOpmFlowDeckFile.cpp +++ b/ApplicationLibCode/FileInterface/RifOpmFlowDeckFile.cpp @@ -606,7 +606,7 @@ bool RifOpmFlowDeckFile::appendDateKeywords( const std::vector& 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;