summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaParserHelper.cxx
diff options
context:
space:
mode:
authorPavel Solodovnikov <hellyeahdominate@gmail.com>2017-09-15 22:42:59 (GMT)
committerPavel Solodovnikov <hellyeahdominate@gmail.com>2017-09-21 08:23:19 (GMT)
commit37d9387be37b5ad51b518d5df467b64e88f73350 (patch)
tree91d6c8ff19c59b296bef0166b8a4da6ff6180190 /Source/cmDependsJavaParserHelper.cxx
parent1cf94375174e7b939148a3ec7e3ae004d511719e (diff)
downloadCMake-37d9387be37b5ad51b518d5df467b64e88f73350.zip
CMake-37d9387be37b5ad51b518d5df467b64e88f73350.tar.gz
CMake-37d9387be37b5ad51b518d5df467b64e88f73350.tar.bz2
Replace empty-string comparisons with checking against `empty()`.
Diffstat (limited to 'Source/cmDependsJavaParserHelper.cxx')
-rw-r--r--Source/cmDependsJavaParserHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsJavaParserHelper.cxx b/Source/cmDependsJavaParserHelper.cxx
index 85dfc7d..f227cf2 100644
--- a/Source/cmDependsJavaParserHelper.cxx
+++ b/Source/cmDependsJavaParserHelper.cxx
@@ -310,7 +310,7 @@ void cmDependsJavaParserHelper::Error(const char* str)
void cmDependsJavaParserHelper::UpdateCombine(const char* str1,
const char* str2)
{
- if (this->CurrentCombine == "" && str1 != nullptr) {
+ if (this->CurrentCombine.empty() && str1 != nullptr) {
this->CurrentCombine = str1;
}
this->CurrentCombine += ".";