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
8a658ee0
Commit
8a658ee0
authored
Sep 18, 2008
by
Mark Olesen
Browse files
DynamicList: cosmetics
parent
7e640112
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H
View file @
8a658ee0
...
...
@@ -136,7 +136,7 @@ public:
//- Transfer the contents of the argument List into this List
// and annull the argument list. Is same as List::transfer except
// checks that you're not changing the underlying list to something
// smaller than
nextFre
e_.
// smaller than
allocSiz
e_.
inline
void
transfer
(
List
<
T
>&
);
//- Transfer the contents of the argument DynamicList into this
...
...
src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H
View file @
8a658ee0
...
...
@@ -224,7 +224,7 @@ inline T& Foam::DynamicList<T, SizeInc, SizeMult, SizeDiv>::operator()
if
(
nextFree
>
allocSize_
)
{
allocSize_
=
max
allocSize_
=
max
(
nextFree
,
label
(
SizeMult
*
allocSize_
/
SizeDiv
+
SizeInc
)
...
...
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