From 0731a50d342c42f7555e379695e8930577a2bfcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Sat, 28 Mar 2020 13:57:16 +0000 Subject: [PATCH] Bug 1625138 - Part 20: Replace mozilla::IsVolatile with std::is_volatile. r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D68375 --HG-- extra : moz-landing-system : lando --- mfbt/TypeTraits.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mfbt/TypeTraits.h b/mfbt/TypeTraits.h index e9dab899b7a4..f89d0cb537ff 100644 --- a/mfbt/TypeTraits.h +++ b/mfbt/TypeTraits.h @@ -133,19 +133,6 @@ struct IsFunction : public detail::IsFunPtr::Type*> {}; /* 20.9.4.3 Type properties [meta.unary.prop] */ -/** - * IsVolatile determines whether a type is volatile or not. - * - * mozilla::IsVolatile::value is false; - * mozilla::IsVolatile::value is true; - * mozilla::IsVolatile::value is false. - */ -template -struct IsVolatile : FalseType {}; - -template -struct IsVolatile : TrueType {}; - /** * Traits class for identifying POD types. Until C++11 there's no automatic * way to detect PODs, so for the moment this is done manually. Users may