summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionParser.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2014-12-12 17:21:54 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-12 19:38:23 (GMT)
commit2e92570bdaacfd5791c37e0fc302e05f095c3901 (patch)
tree184df9daf37a6f865847026bee49a3d2cbc50859 /Source/cmGeneratorExpressionParser.cxx
parenta829f09bdd5cf28c59eeebd39d1652be2bd23283 (diff)
downloadCMake-2e92570bdaacfd5791c37e0fc302e05f095c3901.zip
CMake-2e92570bdaacfd5791c37e0fc302e05f095c3901.tar.gz
CMake-2e92570bdaacfd5791c37e0fc302e05f095c3901.tar.bz2
Fix some Clang -Wstring-conversion warnings
Some false positives, but some flagged faulty asserts where the ! was inside the string instead of outside.
Diffstat (limited to 'Source/cmGeneratorExpressionParser.cxx')
-rw-r--r--Source/cmGeneratorExpressionParser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpressionParser.cxx b/Source/cmGeneratorExpressionParser.cxx
index a41a6e5..ec15daf 100644
--- a/Source/cmGeneratorExpressionParser.cxx
+++ b/Source/cmGeneratorExpressionParser.cxx
@@ -292,11 +292,11 @@ void cmGeneratorExpressionParser::ParseContent(
}
else
{
- assert(!"Got unexpected syntax token.");
+ assert(0 && "Got unexpected syntax token.");
}
assert(this->it != this->Tokens.end());
++this->it;
return;
}
- assert(!"Unhandled token in generator expression.");
+ assert(0 && "Unhandled token in generator expression.");
}