Mercurial > hg > release > heapstats-2.1
changeset 261:3215a746cc9d
Bug 3515: Cannot build HeapStats Agent on CentOS 6 after merging TBB
Reviewed-by: ykubota
https://github.com/HeapStats/heapstats/pull/131
author | Yasumasa Suenaga <yasuenag@gmail.com> |
---|---|
date | Mon, 05 Feb 2018 16:03:30 +0900 |
parents | 3e17313de75c |
children | 37a36a477911 |
files | ChangeLog agent/src/heapstats-engines/snapShotContainer.cpp |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Jan 25 15:10:25 2018 +0900 +++ b/ChangeLog Mon Feb 05 16:03:30 2018 +0900 @@ -1,3 +1,7 @@ +2018-02-05 Yasumasa Suenaga <yasuenag@gmail.com> + + * Bug 3515: Cannot build HeapStats Agent on CentOS 6 after merging TBB + 2017-01-25 KUBOTA Yuji <kubota.yuji@lab.ntt.co.jp> * Bug 3513: Move test cases for race-conditions to another repository
--- a/agent/src/heapstats-engines/snapShotContainer.cpp Thu Jan 25 15:10:25 2018 +0900 +++ b/agent/src/heapstats-engines/snapShotContainer.cpp Mon Feb 05 16:03:30 2018 +0900 @@ -227,7 +227,8 @@ /* Set to children map. */ TChildrenMapKey key = std::make_pair(clsCounter, objData->klassOop); TChildrenMap::accessor acc; - childrenMap.insert(acc, std::make_pair(key, newCounter)); + TChildrenMap::value_type value = std::make_pair(key, newCounter); + childrenMap.insert(acc, value); acc.release(); /* Add new counter to children list */