summaryrefslogtreecommitdiffstats
path: root/Source/cmList.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmList.h')
-rw-r--r--Source/cmList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmList.h b/Source/cmList.h
index 1b94c2f..c29aae7 100644
--- a/Source/cmList.h
+++ b/Source/cmList.h
@@ -1192,7 +1192,7 @@ private:
}
} else {
for (; first != last; ++first) {
- if (!first->empty() || emptyElements == EmptyElements::Yes) {
+ if (!(*first).empty() || emptyElements == EmptyElements::Yes) {
insertPos = container.insert(insertPos, *first);
++insertPos;
}