mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[7699] Avoid implicit convertion enum constant value to 'uint32 const&' in templated code.
This triggering wrong code generation in release mode for VS2003/VS2005.
This commit is contained in:
parent
07310ff6c1
commit
898acd1248
2 changed files with 3 additions and 3 deletions
|
|
@ -630,12 +630,12 @@ namespace MaNGOS
|
||||||
{
|
{
|
||||||
std::list<Unit*> *i_data;
|
std::list<Unit*> *i_data;
|
||||||
Spell &i_spell;
|
Spell &i_spell;
|
||||||
const uint32& i_push_type;
|
SpellNotifyPushType i_push_type;
|
||||||
float i_radius;
|
float i_radius;
|
||||||
SpellTargets i_TargetType;
|
SpellTargets i_TargetType;
|
||||||
Unit* i_originalCaster;
|
Unit* i_originalCaster;
|
||||||
|
|
||||||
SpellNotifierCreatureAndPlayer(Spell &spell, std::list<Unit*> &data, float radius, const uint32 &type,
|
SpellNotifierCreatureAndPlayer(Spell &spell, std::list<Unit*> &data, float radius, SpellNotifyPushType type,
|
||||||
SpellTargets TargetType = SPELL_TARGETS_NOT_FRIENDLY)
|
SpellTargets TargetType = SPELL_TARGETS_NOT_FRIENDLY)
|
||||||
: i_data(&data), i_spell(spell), i_push_type(type), i_radius(radius), i_TargetType(TargetType)
|
: i_data(&data), i_spell(spell), i_push_type(type), i_radius(radius), i_TargetType(TargetType)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7698"
|
#define REVISION_NR "7699"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue