projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve folly::RequestContext onSet and onUnset efficiency
[folly.git]
/
folly
/
futures
/
test
/
ContextTest.cpp
diff --git
a/folly/futures/test/ContextTest.cpp
b/folly/futures/test/ContextTest.cpp
index a3dca7ec3171a4c9f2bd8352c234c2a5fde7d6cc..952c9fa2131bbc9e79d4a3337e99ba2c429a877e 100644
(file)
--- a/
folly/futures/test/ContextTest.cpp
+++ b/
folly/futures/test/ContextTest.cpp
@@
-25,6
+25,11
@@
class TestData : public RequestData {
public:
explicit TestData(int data) : data_(data) {}
~TestData() override {}
+
+ bool hasCallback() override {
+ return false;
+ }
+
int data_;
};