projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't abort when calling qfind_first_byte_of_sse42 without compiler support for SSE 4.2
[folly.git]
/
folly
/
Synchronized.h
diff --git
a/folly/Synchronized.h
b/folly/Synchronized.h
index 1a245ea09c144af25df7157d9ef04209d375834c..afbaef2e0f38ad9675402e36e81ac4a436c74040 100644
(file)
--- a/
folly/Synchronized.h
+++ b/
folly/Synchronized.h
@@
-1302,6
+1302,7
@@
void swap(Synchronized<T, M>& lhs, Synchronized<T, M>& rhs) {
#define SYNCHRONIZED(...) \
FOLLY_PUSH_WARNING \
FOLLY_GCC_DISABLE_WARNING(shadow) \
+ FOLLY_GCC_DISABLE_NEW_SHADOW_WARNINGS \
if (bool SYNCHRONIZED_state = false) { \
} else \
for (auto SYNCHRONIZED_lockedPtr = \