Skip to content

Commit

Permalink
Exclude vehicle weak_ptrs from pre-WotLK cores
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Aug 31, 2024
1 parent b5113ea commit 4d74de6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ElunaTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ ElunaConstrainedObjectRef<Map> GetWeakPtrFor(Map const* obj);
ElunaConstrainedObjectRef<Object> GetWeakPtrForObjectImpl(Object const* obj);
ElunaConstrainedObjectRef<Quest> GetWeakPtrFor(Quest const* obj);
ElunaConstrainedObjectRef<Spell> GetWeakPtrFor(Spell const* obj);
#if ELUNA_EXPANSION >= EXP_WOTLK
ElunaConstrainedObjectRef<Vehicle> GetWeakPtrFor(Vehicle const* obj);
#endif

template <typename T>
ElunaConstrainedObjectRef<T> GetWeakPtrFor(T const* obj)
Expand Down

0 comments on commit 4d74de6

Please sign in to comment.