Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
cf065aad
Commit
cf065aad
authored
Aug 15, 2017
by
Andrew Heather
Browse files
BUG: Corrected construction of List from SLList. Fixes
#571
parent
c782b093
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/Lists/List/List.C
View file @
cf065aad
...
...
@@ -231,12 +231,10 @@ Foam::List<T>::List(const PtrList<T>& lst)
}
// Note: using first/last is not entirely accurate.
// But since the list size is correct, last() is actually ignored.
template
<
class
T
>
Foam
::
List
<
T
>::
List
(
const
SLList
<
T
>&
lst
)
:
List
<
T
>
(
lst
.
first
(),
lst
.
last
(),
lst
.
size
())
List
<
T
>
(
lst
.
begin
(),
lst
.
end
(),
lst
.
size
())
{}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment