mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-26 05:25:54 +00:00
feat(Core): enable C++17 (#2234)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
This commit is contained in:
committed by
Kargatum
parent
cae91f1650
commit
3a43e8c415
@@ -166,7 +166,7 @@ const Position PosPlatform = {2640.5f, -3360.6f, 285.26f, 0.0f};
|
||||
#define IN_LIVE_SIDE(who) (who->GetPositionY() < POS_Y_GATE)
|
||||
|
||||
// Predicate function to check that the r efzr unit is NOT on the same side as the source.
|
||||
struct NotOnSameSide : public std::unary_function<Unit *, bool>
|
||||
struct NotOnSameSide : public ACORE::unary_function<Unit *, bool>
|
||||
{
|
||||
bool m_inLiveSide;
|
||||
explicit NotOnSameSide(Unit *pSource) : m_inLiveSide(IN_LIVE_SIDE(pSource)) {}
|
||||
|
||||
Reference in New Issue
Block a user