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
5a85cab9
Commit
5a85cab9
authored
Oct 29, 2010
by
mattijs
Browse files
ENH: DynamicList: null constructor does not allocate
parent
90abd781
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H
View file @
5a85cab9
...
...
@@ -28,8 +28,8 @@ License
template
<
class
T
,
unsigned
SizeInc
,
unsigned
SizeMult
,
unsigned
SizeDiv
>
inline
Foam
::
DynamicList
<
T
,
SizeInc
,
SizeMult
,
SizeDiv
>::
DynamicList
()
:
List
<
T
>
(
SizeInc
),
capacity_
(
SizeInc
)
List
<
T
>
(
0
),
capacity_
(
0
)
{
List
<
T
>::
size
(
0
);
}
...
...
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