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
03c27d2b
Commit
03c27d2b
authored
Oct 10, 2008
by
Mark Olesen
Browse files
eliminated label& List::size() completely
parent
8207cf0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/Lists/List/List.H
View file @
03c27d2b
...
...
@@ -152,9 +152,6 @@ public:
//- Return the number of elements in the UList.
inline
label
size
()
const
;
//- Override size to be inconsistent with allocated storage.
// Use with care.
inline
label
&
size
();
// Edit
...
...
src/OpenFOAM/containers/Lists/List/ListI.H
View file @
03c27d2b
...
...
@@ -65,14 +65,6 @@ inline Foam::label Foam::List<T>::size() const
return
UList
<
T
>::
size_
;
}
template
<
class
T
>
inline
Foam
::
label
&
Foam
::
List
<
T
>::
size
()
{
return
UList
<
T
>::
size_
;
}
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
template
<
class
T
>
...
...
src/OpenFOAM/meshes/primitiveMesh/primitiveMeshPointCells.C
View file @
03c27d2b
...
...
@@ -167,7 +167,7 @@ const labelList& primitiveMesh::pointCells
}
}
storage
.
size
(
)
=
n
;
storage
.
s
etS
ize
(
n
)
;
return
storage
;
}
...
...
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