Skip to content
GitLab
Explore
Sign in
Register
This is an archived project. Repository and other project resources are read-only.
Commits on Source (1)
COMP: do not use (defunct) HashTable iterator pointer deference
· 58380bd9
Mark OLESEN
authored
Sep 29, 2019
58380bd9
Hide whitespace changes
Inline
Side-by-side
src/adiosWrite/adiosReadData.C
View file @
58380bd9
...
...
@@ -135,7 +135,7 @@ Foam::functionObjects::adiosWrite::readData(const fileName& bpFile)
forAllConstIters
(
obr
,
iter
)
{
Info
<<
iter
.
key
()
<<
" "
<<
iter
->
type
()
<<
nl
;
Info
<<
iter
.
key
()
<<
" "
<<
(
*
iter
)
->
type
()
<<
nl
;
}
}
...
...
src/adiosWrite/adiosWriteData.C
View file @
58380bd9
...
...
@@ -191,9 +191,10 @@ Foam::label Foam::functionObjects::adiosWrite::writeClouds
forAllConstIters
(
cloudObjects
,
iter
)
{
if
(
!
regCtrl
.
acceptCloudObject
(
*
(
iter
.
val
())))
const
cloud
*
cldPtr
=
iter
.
val
();
if
(
!
regCtrl
.
acceptCloudObject
(
*
cldPtr
))
{
pruned
.
insert
(
ite
r
->
name
());
pruned
.
insert
(
cldPt
r
->
name
());
}
}
...
...