Skip to content

Commit 477f5fb

Browse files
committed
update bitset constant
1 parent bff049b commit 477f5fb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ node_modules
2525
# Xcode
2626
## Build generated
2727
build/
28+
build32/
2829
DerivedData/
2930

3031
## Various settings

yoga/config/Config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ namespace facebook::yoga {
2222
class Config;
2323
class Node;
2424

25-
using ExperimentalFeatureSet = std::bitset<ordinalCount<ExperimentalFeature>()>;
25+
constexpr size_t ExperimentalFeatureCount = 1;
26+
using ExperimentalFeatureSet = std::bitset<ExperimentalFeatureCount>;
2627

2728
// Whether moving a node from an old to new config should dirty previously
2829
// calculated layout results.

0 commit comments

Comments
 (0)