summaryrefslogtreecommitdiffstats
path: root/Source/cmList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmList.cxx')
-rw-r--r--Source/cmList.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmList.cxx b/Source/cmList.cxx
index 939fbb5..cf65bb2 100644
--- a/Source/cmList.cxx
+++ b/Source/cmList.cxx
@@ -146,7 +146,7 @@ public:
{
std::string result = argument;
for (auto const& filter : this->Filters) {
- if (filter != nullptr) {
+ if (filter) {
result = filter(result);
}
}