Skip to content
Snippets Groups Projects
Commit 00990698 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: remove construct SortableList from two iterators (#2083)

- unused, but missed in 40567b84
parent 8884d58a
Branches
Tags
No related merge requests found
...@@ -93,20 +93,6 @@ inline Foam::SortableList<T>::SortableList(List<T>&& values) ...@@ -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: ...@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment