aboutsummaryrefslogtreecommitdiff
path: root/src/game/GridNotifiersImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GridNotifiersImpl.h')
-rw-r--r--src/game/GridNotifiersImpl.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/game/GridNotifiersImpl.h b/src/game/GridNotifiersImpl.h
index f4267ff7048..26a9c0bd328 100644
--- a/src/game/GridNotifiersImpl.h
+++ b/src/game/GridNotifiersImpl.h
@@ -450,28 +450,4 @@ void Trinity::LocalizedPacketListDo<Builder>::operator()(Player* p)
p->SendDirectMessage((*data_list)[i]);
}
-struct ObjectDistanceOrder : public std::binary_function<const WorldObject, const WorldObject, bool>
-{
- const Unit* m_pSource;
-
- ObjectDistanceOrder(const Unit* pSource) : m_pSource(pSource) {};
-
- bool operator()(const WorldObject* pLeft, const WorldObject* pRight) const
- {
- return m_pSource->GetDistanceOrder(pLeft, pRight);
- }
-};
-
-struct ObjectDistanceOrderReversed : public std::binary_function<const WorldObject, const WorldObject, bool>
-{
- const Unit* m_pSource;
-
- ObjectDistanceOrderReversed(const Unit* pSource) : m_pSource(pSource) {};
-
- bool operator()(const WorldObject* pLeft, const WorldObject* pRight) const
- {
- return !m_pSource->GetDistanceOrder(pLeft, pRight);
- }
-};
-
#endif // TRINITY_GRIDNOTIFIERSIMPL_H