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 d9ce951..eba0400 100644
--- a/Source/cmList.h
+++ b/Source/cmList.h
@@ -322,7 +322,7 @@ public:
// extract sublist in range [first, last)
cmList sublist(const_iterator first, const_iterator last) const
{
- return cmList{ first, last };
+ return cmList{ first, last, ExpandElements::No, EmptyElements::Yes };
}
// Extract sublist in range [first, last)
// Throw std::out_of_range if pos is invalid