Commit 7feb2d37 authored by John Kearney's avatar John Kearney Committed by Facebook GitHub Bot

Add virtual destructor to SequencedExecutor

Summary: - Fix linker error when building with clang on windows

Reviewed By: yfeldblum, jdonald

Differential Revision: D24683230

fbshipit-source-id: fe9e5daebb058e007d8f5725ef31e62967a94f15
parent 2834b6e4
...@@ -24,6 +24,9 @@ namespace folly { ...@@ -24,6 +24,9 @@ namespace folly {
// if add(A) and add(B) were sequenced (i.e. add(B) was called after add(A) call // if add(A) and add(B) were sequenced (i.e. add(B) was called after add(A) call
// had returned to the caller) then execution of A and B will be sequenced // had returned to the caller) then execution of A and B will be sequenced
// (i.e. B() can be called only after A() returns) too. // (i.e. B() can be called only after A() returns) too.
class SequencedExecutor : public virtual Executor {}; class SequencedExecutor : public virtual Executor {
public:
virtual ~SequencedExecutor() {}
};
} // namespace folly } // namespace folly
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment