Skip to content
Snippets Groups Projects
Commit ede6463b authored by Vassil Vassilev's avatar Vassil Vassilev
Browse files

Revert "Do not pull all enums. Use the lookup facility."

This reverts commit 2b071027.

Try to appease the incremental builds. They fail with:

In file included from test_Persistency1_C_ACLiC_dict dictionary payload:7:
./test_Persistency1.C:69:8: error: redefinition of 'Event'
struct Event : public DataObject  {
       ^
/.../roottest/root/tree/cache/Event.h:103:7: note: previous definition is here
class Event : public TObject {
      ^
In file included from test_Persistency1_C_ACLiC_dict dictionary payload:7:
./test_Persistency1.C:86:8: error: no member named 'm_evt' in 'Event'
    d->m_evt = d->m_run = i;
parent 9e38c890
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ TEnum *TEnum::GetEnum(const char *enumName, ESearchAction sa)
if (sa_local == (kALoadAndInterpLookup)) {
auto scope = TClass::GetClass(scopeName, true);
TEnum *en = nullptr;
if (scope) en = findEnumInList(scope->GetListOfEnums(kFALSE), enName, sa_local);
if (scope) en = findEnumInList(scope->GetListOfEnums(), enName, sa_local);
return en;
}
......
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