projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix ThreadCachedInt race condition
[folly.git]
/
folly
/
SpinLock.h
diff --git
a/folly/SpinLock.h
b/folly/SpinLock.h
index 5ab446056fc781b9a9551d0862f5a05667c9be75..48d20f1af346a8687356aff4f40f028602865954 100644
(file)
--- a/
folly/SpinLock.h
+++ b/
folly/SpinLock.h
@@
-64,11
+64,4
@@
class SpinLockGuardImpl : private boost::noncopyable {
typedef SpinLockGuardImpl<SpinLock> SpinLockGuard;
-namespace detail {
-template <class T>
-struct HasLockUnlock;
-
-template <>
-struct HasLockUnlock<folly::SpinLock> : public std::true_type {};
-}
}