File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1107,10 +1107,12 @@ void Eluna::FreeInstanceId(uint32 instanceId)
11071107{
11081108 for (int i = 1 ; i < Hooks::INSTANCE_EVENT_COUNT; ++i)
11091109 {
1110- auto key = EntryKey<Hooks::InstanceEvents>((Hooks::InstanceEvents)i, instanceId);
1110+ typedef EntryKey<Hooks::InstanceEvents> Key;
1111+
1112+ auto key = Key ((Hooks::InstanceEvents)i, instanceId);
11111113
1112- auto MapEventBindings = GetBinding<EntryKey<Hooks::InstanceEvents> >(" MapEvents" );
1113- auto InstanceEventBindings = GetBinding<EntryKey<Hooks::InstanceEvents> >(" InstanceEvents" );
1114+ auto MapEventBindings = GetBinding<Key >(" MapEvents" );
1115+ auto InstanceEventBindings = GetBinding<Key >(" InstanceEvents" );
11141116
11151117 if (MapEventBindings->HasBindingsFor (key))
11161118 MapEventBindings->Clear (key);
You can’t perform that action at this time.
0 commit comments