The parent of a nested thansaction is definitely not itself.
git-svn-id: http://root.cern.ch/svn/root/trunk@47284 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
b288115cb2
commit
d49cd5c090
@ -199,7 +199,7 @@ namespace cling {
|
||||
///\param[in] nested - The transaction to be nested.
|
||||
///
|
||||
void addNestedTransaction(Transaction* nested) {
|
||||
nested->setParent(nested);
|
||||
nested->setParent(this);
|
||||
// Leave a marker in the parent transaction, where the nested transaction
|
||||
// started. Using empty DeclGroupRef is save because append() filters
|
||||
// out possible empty DeclGroupRefs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user