From f05583b06f03956854fb4efaa2d88e67714af62c Mon Sep 17 00:00:00 2001 From: Paul Bone Date: Tue, 24 Oct 2023 03:54:42 +0000 Subject: [PATCH] Bug 1860464 - Use using rather than typedef r=glandium Differential Revision: https://phabricator.services.mozilla.com/D191596 --- memory/build/mozjemalloc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/memory/build/mozjemalloc.h b/memory/build/mozjemalloc.h index 88d36644525b..df3fbc31b367 100644 --- a/memory/build/mozjemalloc.h +++ b/memory/build/mozjemalloc.h @@ -127,15 +127,15 @@ struct ReplaceMalloc { # endif # ifdef MOZ_PHC -typedef MozJemallocPHC CanonicalMalloc; +using CanonicalMalloc = MozJemallocPHC; # else -typedef MozJemalloc CanonicalMalloc; +using CanonicalMalloc = MozJemalloc; # endif # ifdef MOZ_REPLACE_MALLOC -typedef ReplaceMalloc DefaultMalloc; +using DefaultMalloc = ReplaceMalloc; # else -typedef CanonicalMalloc DefaultMalloc; +using DefaultMalloc = CanonicalMalloc; # endif // Poison - write "poison" to cells upon deallocation.