projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix reliance on the sign of char in fnv32 and fnv64
[folly.git]
/
folly
/
String-inl.h
diff --git
a/folly/String-inl.h
b/folly/String-inl.h
index dbfefa010fb6f97ac530ce280b74f086996b7ec0..8baf8f85690c6fe5970f1903c9735a81b153e0ba 100644
(file)
--- a/
folly/String-inl.h
+++ b/
folly/String-inl.h
@@
-19,6
+19,8
@@
#include <stdexcept>
#include <iterator>
+#include <folly/CppAttributes.h>
+
#ifndef FOLLY_STRING_H_
#error This file may only be included from String.h
#endif
@@
-228,6
+230,7
@@
void uriUnescape(StringPiece str, String& out, UriEscapeMode mode) {
break;
}
// else fallthrough
+ FOLLY_FALLTHROUGH;
default:
++p;
break;