diff options
author | Sean McBride <sean@rogue-research.com> | 2014-12-12 17:21:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-12 19:38:23 (GMT) |
commit | 2e92570bdaacfd5791c37e0fc302e05f095c3901 (patch) | |
tree | 184df9daf37a6f865847026bee49a3d2cbc50859 /Source/cmGeneratorExpression.cxx | |
parent | a829f09bdd5cf28c59eeebd39d1652be2bd23283 (diff) | |
download | CMake-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/cmGeneratorExpression.cxx')
-rw-r--r-- | Source/cmGeneratorExpression.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx index bff6f5f..b6fe414 100644 --- a/Source/cmGeneratorExpression.cxx +++ b/Source/cmGeneratorExpression.cxx @@ -447,7 +447,7 @@ std::string cmGeneratorExpression::Preprocess(const std::string &input, return stripExportInterface(input, context, resolveRelative); } - assert(!"cmGeneratorExpression::Preprocess called with invalid args"); + assert(0 && "cmGeneratorExpression::Preprocess called with invalid args"); return std::string(); } |