refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
This commit is contained in:
parent
ac99eb48e1
commit
913e65f97f
26 changed files with 43 additions and 43 deletions
|
|
@ -32,7 +32,7 @@ struct PoolObject
|
|||
{
|
||||
uint32 guid;
|
||||
float chance;
|
||||
PoolObject(uint32 _guid, float _chance): guid(_guid), chance(fabs(_chance)) {}
|
||||
PoolObject(uint32 _guid, float _chance): guid(_guid), chance(std::fabs(_chance)) {}
|
||||
};
|
||||
|
||||
class Pool // for Pool of Pool case
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue