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
Stack Of Tasks
dynamic-graph
Commits
1870d2b4
Commit
1870d2b4
authored
Aug 20, 2018
by
Olivier Stasse
Browse files
[pool] Reintroduce the fact than in the destructor we should go at the
beginning of the map.
parent
9a99f20a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgraph/pool.cpp
View file @
1870d2b4
...
...
@@ -60,7 +60,9 @@ PoolStorage::
dgDEBUGIN
(
15
);
for
(
Entities
::
iterator
iter
=
entityMap
.
begin
();
iter
!=
entityMap
.
end
();
iter
++
)
// Here, this is normal that the next iteration is at the beginning
// of the map as deregisterEntity remove the element iter from the map.
iter
=
entityMap
.
begin
())
{
dgDEBUG
(
15
)
<<
"Delete
\"
"
<<
(
iter
->
first
)
<<
"
\"
"
<<
std
::
endl
;
...
...
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