From 37d9387be37b5ad51b518d5df467b64e88f73350 Mon Sep 17 00:00:00 2001 From: Pavel Solodovnikov Date: Sat, 16 Sep 2017 01:42:59 +0300 Subject: Replace empty-string comparisons with checking against `empty()`. --- Source/CTest/cmCTestSVN.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/CTest/cmCTestSVN.cxx') diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx index 087eb38333..ce9622492a 100644 --- a/Source/CTest/cmCTestSVN.cxx +++ b/Source/CTest/cmCTestSVN.cxx @@ -410,7 +410,7 @@ void cmCTestSVN::DoRevisionSVN(Revision const& revision, // Ignore changes in the old revision for external repositories if (revision.Rev == revision.SVNInfo->OldRevision && - revision.SVNInfo->LocalPath != "") { + !revision.SVNInfo->LocalPath.empty()) { return; } -- cgit v1.2.1