mirror of https://github.com/CGAL/cgal
Iterators are passed by value
This commit is contained in:
parent
4a6cd183a4
commit
f0c21e20e8
|
|
@ -56,7 +56,7 @@ public:
|
|||
|
||||
// constructor from an InputIterator range with value type std::pair<IC,Coeff>
|
||||
template<class InputIterator>
|
||||
Interpolator(const InputIterator& begin, const InputIterator& end){
|
||||
Interpolator(InputIterator begin, InputIterator end){
|
||||
for(InputIterator it = begin; it != end; it++){
|
||||
add_interpolation_point(*it);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue