projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f49ee8
)
Properly init collectDone_
author
Andrii Grynenko
<andrii@fb.com>
Wed, 2 Dec 2015 01:23:48 +0000
(17:23 -0800)
committer
facebook-github-bot-1
<folly-bot@fb.com>
Wed, 2 Dec 2015 02:20:21 +0000
(18:20 -0800)
Summary: facepaw
Reviewed By: djwatson
Differential Revision:
D2709030
fb-gh-sync-id:
20fe50bc70e97c4fedeae8fd271a4de70fa0e805
folly/experimental/TLRefCount.h
patch
|
blob
|
history
diff --git
a/folly/experimental/TLRefCount.h
b/folly/experimental/TLRefCount.h
index c2b220915ed144077ccf66dd1da43fc463970e06..6d20b5ef45ce34a285a6b6ccca0c6542847a5c1c 100644
(file)
--- a/
folly/experimental/TLRefCount.h
+++ b/
folly/experimental/TLRefCount.h
@@
-159,7
+159,7
@@
class TLRefCount {
std::mutex collectMutex_;
Int collectCount_{0};
- bool collectDone_;
+ bool collectDone_
{false}
;
};
std::atomic<State> state_{State::LOCAL};