Skip to content
Snippets Groups Projects
Commit 0e8e515f authored by Axel Naumann's avatar Axel Naumann
Browse files

[meta] TDictionary::GetDictionary() prefer class over typedef:

For `std::string`, we have both a TClass and a TDataType (as it is a typedef).
We should prefer the TClass (which fixes issue #7169), but not at the cost
of calling `TClass::GetClass()` first: that is just too slow. So instead,
check for "is it a datatype, not numeric, do we have a TClass?" which will
still prefer the TClass even if *also* a TDataType exists.

Provide documentation!
parent e6d16d66
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment