projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the size of the enum in FBString.h under MSVC
[folly.git]
/
folly
/
FBString.h
diff --git
a/folly/FBString.h
b/folly/FBString.h
index c43460a2a5fb13632fffcea9d7475ba8162b51e1..53ade9b7adad45e333f3f26bb639436974c143aa 100644
(file)
--- a/
folly/FBString.h
+++ b/
folly/FBString.h
@@
-810,7
+810,7
@@
private:
MediumLarge ml_;
};
- enum {
+ enum
: size_t
{
lastChar = sizeof(MediumLarge) - 1,
maxSmallSize = lastChar / sizeof(Char),
maxMediumSize = 254 / sizeof(Char), // coincides with the small