projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix AsyncSocketTest.WriteErrorCallbackBytesWritten
[folly.git]
/
folly
/
io
/
async
/
test
/
AsyncSocketTest.h
diff --git
a/folly/io/async/test/AsyncSocketTest.h
b/folly/io/async/test/AsyncSocketTest.h
index f8c03f8818a9cce9082fa33412119aa11fa822a4..114e99f7fe80bce5d32f47285ad6e8a0c70d0d4c 100644
(file)
--- a/
folly/io/async/test/AsyncSocketTest.h
+++ b/
folly/io/async/test/AsyncSocketTest.h
@@
-83,7
+83,7
@@
class WriteCallback : public folly::AsyncTransportWrapper::WriteCallback {
}
StateEnum state;
- s
ize_t
bytesWritten;
+ s
td::atomic<size_t>
bytesWritten;
folly::AsyncSocketException exception;
VoidCallback successCallback;
VoidCallback errorCallback;