forked from mirrors/gecko-dev
Bug 1860464 - Use using rather than typedef r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D191596
This commit is contained in:
parent
f266da2860
commit
f05583b06f
1 changed files with 4 additions and 4 deletions
|
|
@ -127,15 +127,15 @@ struct ReplaceMalloc {
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef MOZ_PHC
|
# ifdef MOZ_PHC
|
||||||
typedef MozJemallocPHC CanonicalMalloc;
|
using CanonicalMalloc = MozJemallocPHC;
|
||||||
# else
|
# else
|
||||||
typedef MozJemalloc CanonicalMalloc;
|
using CanonicalMalloc = MozJemalloc;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef MOZ_REPLACE_MALLOC
|
# ifdef MOZ_REPLACE_MALLOC
|
||||||
typedef ReplaceMalloc DefaultMalloc;
|
using DefaultMalloc = ReplaceMalloc;
|
||||||
# else
|
# else
|
||||||
typedef CanonicalMalloc DefaultMalloc;
|
using DefaultMalloc = CanonicalMalloc;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
// Poison - write "poison" to cells upon deallocation.
|
// Poison - write "poison" to cells upon deallocation.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue