summarylogtreecommitdiffstats
path: root/0029-Partially-revert-Bug-1768632-Make-EnumSet-compile-fo.patch
blob: a7d91723a85b5d7dd03139b50d86bbf187859445 (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 712e03d3f3d9b23ada1e77e422e193c31b16d598..024fa5fdeb203b1d1053a5c35881167dcba8b55f 100644
--- a/mfbt/EnumSet.h
+++ b/mfbt/EnumSet.h
@@ -336,7 +336,7 @@ class EnumSet {
     }
   }
 
-  static constexpr size_t kMaxBits = MaxBits();
+  static constexpr size_t kMaxBits = EnumSet().MaxBits();
 
   Serialized mBitField;