summarylogtreecommitdiffstats
path: root/0030-Partially-revert-Bug-1768632-Make-EnumSet-compile-fo.patch
blob: 9322a4f81c1288bd936c5ac43e6ce3bdbe22cf11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= <bjorn.bidar@jolla.com>
Date: Sat, 22 Jul 2023 18:15:36 +0300
Subject: [PATCH] Partially revert "Bug 1768632: Make EnumSet compile for MSVC.
 r=glandium"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit e9319e5454fc765c035e3b458f0f952cf35311ca partially.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
---
 mfbt/EnumSet.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mfbt/EnumSet.h b/mfbt/EnumSet.h
index f7765c6f5c954f133f846ff27018c888a68f2284..7721d1d1facdebb2e78b63f58a56ac94357a6395 100644
--- a/mfbt/EnumSet.h
+++ b/mfbt/EnumSet.h
@@ -326,7 +326,7 @@ class EnumSet {
     }
   }
 
-  static constexpr size_t kMaxBits = MaxBits();
+  static constexpr size_t kMaxBits = EnumSet().MaxBits();
 
   Serialized mBitField;