diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-15 22:13:44 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-18 13:25:24 (GMT) |
commit | aa773035b7f4a1aefd860d0b9e80f134bd4a4547 (patch) | |
tree | 3970a39971ed66dd72c07f227464ce2051f28ce2 /Source/CTest/cmCTestCoverageHandler.cxx | |
parent | 64592633773004df83cdd790b9cb1838503ca854 (diff) | |
download | CMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.zip CMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.tar.gz CMake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.tar.bz2 |
Replace !foo.size() pattern with foo.empty().
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 87c7e8f..f821724 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -1311,7 +1311,7 @@ int cmCTestCoverageHandler::HandleGCovCoverage( //TODO: Handle gcov 3.0 non-coverage lines // Skip empty lines - if ( !nl.size() ) + if (nl.empty()) { continue; } @@ -1627,7 +1627,7 @@ int cmCTestCoverageHandler::HandleLCovCoverage( cnt ++; // Skip empty lines - if ( !nl.size() ) + if (nl.empty()) { continue; } @@ -1813,7 +1813,7 @@ int cmCTestCoverageHandler::HandleTracePyCoverage( cnt ++; // Skip empty lines - if ( !nl.size() ) + if (nl.empty()) { continue; } |