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
a41cb803
Commit
a41cb803
authored
Dec 15, 2009
by
mattijs
Browse files
Added unset functionality and corrected assignment
parent
b877323a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/Lists/PackedList/PackedList.C
View file @
a41cb803
...
...
@@ -267,8 +267,8 @@ Foam::Ostream& Foam::PackedList<nBits>::print(Ostream& os) const
template
<
unsigned
nBits
>
void
Foam
::
PackedList
<
nBits
>::
operator
=
(
const
PackedList
<
nBits
>&
lst
)
{
setCapacity
(
lst
.
size
());
StorageList
::
operator
=
(
lst
);
size_
=
lst
.
size
();
}
...
...
@@ -276,6 +276,7 @@ template<unsigned nBits>
void
Foam
::
PackedList
<
nBits
>::
operator
=
(
const
UList
<
label
>&
lst
)
{
setCapacity
(
lst
.
size
());
size_
=
lst
.
size
();
forAll
(
lst
,
i
)
{
...
...
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