projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add wrapper for getting X509_digest from a cert
[folly.git]
/
folly
/
Executor.h
diff --git
a/folly/Executor.h
b/folly/Executor.h
index 688662108869067cca46c2ca809f5223cc37839f..a2ac0d6358089e7f4330f626180f125ebdb78c49 100644
(file)
--- a/
folly/Executor.h
+++ b/
folly/Executor.h
@@
-59,6
+59,10
@@
class Executor {
return executor_ != nullptr;
}
+ Executor* get() const {
+ return executor_.get();
+ }
+
private:
friend class Executor;
explicit KeepAlive(folly::Executor* executor) : executor_(executor) {}