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
/
SingletonThreadLocal.h
diff --git
a/folly/SingletonThreadLocal.h
b/folly/SingletonThreadLocal.h
index e073fecd2d2f303817fa82daaaec60c945bd5cc4..f3b6296cd9b6ec715409144e85d9e482c95a9944 100644
(file)
--- a/
folly/SingletonThreadLocal.h
+++ b/
folly/SingletonThreadLocal.h
@@
-38,7
+38,6
@@
class SingletonThreadLocal {
static T& get() {
#ifdef FOLLY_TLS
- *localPtr() = nullptr;
if (UNLIKELY(*localPtr() == nullptr)) {
*localPtr() = &(**SingletonT::get());
}