mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: remove construct SortableList from two iterators (#2083)
- unused, but missed in 40567b844a
This commit is contained in:
@ -93,20 +93,6 @@ inline Foam::SortableList<T>::SortableList(List<T>&& values)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
template<class InputIterator>
|
|
||||||
inline Foam::SortableList<T>::SortableList
|
|
||||||
(
|
|
||||||
InputIterator begIter,
|
|
||||||
InputIterator endIter
|
|
||||||
)
|
|
||||||
:
|
|
||||||
List<T>(begIter, endIter)
|
|
||||||
{
|
|
||||||
sort();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
inline Foam::SortableList<T>::SortableList(std::initializer_list<T> values)
|
inline Foam::SortableList<T>::SortableList(std::initializer_list<T> values)
|
||||||
:
|
:
|
||||||
|
|||||||
@ -99,11 +99,6 @@ public:
|
|||||||
//- Move construct from List, sorting immediately
|
//- Move construct from List, sorting immediately
|
||||||
inline SortableList(List<T>&& values);
|
inline SortableList(List<T>&& values);
|
||||||
|
|
||||||
//- Construct given begin/end iterators.
|
|
||||||
// Uses std::distance to determine the size.
|
|
||||||
template<class InputIterator>
|
|
||||||
inline SortableList(InputIterator begIter, InputIterator endIter);
|
|
||||||
|
|
||||||
//- Construct from an initializer list, sorting immediately
|
//- Construct from an initializer list, sorting immediately
|
||||||
inline SortableList(std::initializer_list<T> values);
|
inline SortableList(std::initializer_list<T> values);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user