Mark the base class of NoFutureInSplitter as public
[folly.git] / folly / futures / FutureException.h
index 0df8d8b37fc6a727bdc4460180b8f9d8c9edee7c..4bd2021cec299e19e3540bbf58e6708c49f1cd5a 100644 (file)
@@ -83,7 +83,7 @@ class FOLLY_EXPORT PredicateDoesNotObtain : public FutureException {
 
 [[noreturn]] void throwPredicateDoesNotObtain();
 
-class FOLLY_EXPORT NoFutureInSplitter : FutureException {
+class FOLLY_EXPORT NoFutureInSplitter : public FutureException {
  public:
   NoFutureInSplitter() : FutureException("No Future in this FutureSplitter") {}
 };