cmAlgorithms: Rename cmRange to cmMakeRange.

This commit is contained in:
Stephen Kelly
2015-07-18 10:45:18 +02:00
committed by Brad King
parent 265b9db7c2
commit 8ea0b81d20
14 changed files with 30 additions and 29 deletions
+2 -2
View File
@@ -179,14 +179,14 @@ private:
}
template<typename Iter1, typename Iter2>
ContainerAlgorithms::Range<Iter1> cmRange(Iter1 begin, Iter2 end)
ContainerAlgorithms::Range<Iter1> cmMakeRange(Iter1 begin, Iter2 end)
{
return ContainerAlgorithms::Range<Iter1>(begin, end);
}
template<typename Range>
ContainerAlgorithms::Range<typename Range::const_iterator>
cmRange(Range const& range)
cmMakeRange(Range const& range)
{
return ContainerAlgorithms::Range<typename Range::const_iterator>(
range.begin(), range.end());