mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Fixed warnings, unused code and typos.
Including fix _SCallback for 3 params, triggred mode correct call for .cast back and .cast target. Remove outdated code for support old 19421 (and ranks) implementation in client data.
This commit is contained in:
parent
ce351382a3
commit
88b1974df6
46 changed files with 92 additions and 159 deletions
|
|
@ -140,7 +140,7 @@ namespace MaNGOS
|
|||
void _Execute() { (*m_method)(m_param1, m_param2, m_param3); }
|
||||
public:
|
||||
_SCallback(Method method, ParamType1 param1, ParamType2 param2, ParamType3 param3)
|
||||
: m_method(method), m_param1(param1), m_param2(param2) {}
|
||||
: m_method(method), m_param1(param1), m_param2(param2), m_param3(param3) {}
|
||||
_SCallback(_SCallback < ParamType1, ParamType2, ParamType3 > const& cb)
|
||||
: m_method(cb.m_method), m_param1(cb.m_param1), m_param2(cb.m_param2), m_param3(cb.m_param3) {}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue