projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix clang issue on NotificationQueue::size
[folly.git]
/
folly
/
io
/
async
/
NotificationQueue.h
diff --git
a/folly/io/async/NotificationQueue.h
b/folly/io/async/NotificationQueue.h
index 9d76e431cd242b8163cdf596d2ce44379d2e4524..9eee132bc7b6b2063d1e2479eed59dd54b251b1f 100644
(file)
--- a/
folly/io/async/NotificationQueue.h
+++ b/
folly/io/async/NotificationQueue.h
@@
-419,7
+419,7
@@
class NotificationQueue {
return true;
}
-
in
t size() {
+
size_
t size() {
folly::SpinLockGuard g(spinlock_);
return queue_.size();
}