In TDirectory::Append, SetBit(kMustCleanup) for the object. This will force RecursiveRemove to be called when the object will be deleted. With this change, any TObject may be added to a TDirectory. When the object will be deleted, it will be automatically removed from any TDirectory referencing it.
In TDirectory::Append, SetBit(kMustCleanup) for the object.
This will force RecursiveRemove to be called when the object
will be deleted.
With this change, any TObject may be added to a TDirectory.
When the object will be deleted, it will be automatically removed
from any TDirectory referencing it.


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@5076 27541ba8-7e3a-0410-8455-c3a389f83636

dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT