From 37f9bef3087312bea7e029fee4e5f6687144e23a Mon Sep 17 00:00:00 2001
From: Sebastian Eibl <sebastian.eibl@fau.de>
Date: Tue, 9 Jun 2020 08:37:57 +0000
Subject: [PATCH] [CLANG-TIDY] readability-container-size-empty

---
 src/python_coupling/Shell.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/python_coupling/Shell.cpp b/src/python_coupling/Shell.cpp
index 183e329d3..5749511e0 100644
--- a/src/python_coupling/Shell.cpp
+++ b/src/python_coupling/Shell.cpp
@@ -134,7 +134,7 @@ namespace python_coupling {
 
          if ( lineCounter == 1 && commandComplete )
             return true;
-         if ( strTrimmedLine.size() == 0 && isCompleteCommand(result) ) // multiline commands have to end with empty line
+         if ( strTrimmedLine.empty() && isCompleteCommand(result) ) // multiline commands have to end with empty line
             return true;
       }
 
-- 
GitLab