Commit 380e3192 authored by mattijs's avatar mattijs
Browse files

ulist argument

parent 1fb786eb
......@@ -32,7 +32,7 @@ License
// Construct from List
template <class Type>
Foam::SortableList<Type>::SortableList(const List<Type>& values)
Foam::SortableList<Type>::SortableList(const UList<Type>& values)
:
List<Type>(values),
indices_(values.size())
......
......@@ -88,7 +88,7 @@ public:
//- Construct from List, sorting the elements.
// Starts with indices set to index in argument
explicit SortableList(const List<Type>&);
explicit SortableList(const UList<Type>&);
//- Construct from tranferred List, sorting the elements.
// Starts with indices set to index in argument
......
Markdown is supported
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