Cut the ScopeGuard alias now that we have auto
[folly.git] / folly / ExceptionWrapper.h
index ff60aa347117457aa9e123fc27850c30a398d1d7..fc0cac77529b58165c6029137d5aa7c0bc9bf012 100644 (file)
@@ -162,7 +162,7 @@ auto fold(Fn&& fn, A&& a, B&& b, Bs&&... bs) {
 //! \endcode
 class exception_wrapper final {
  private:
-  struct AnyException : std::exception {
+  struct FOLLY_EXPORT AnyException : std::exception {
     std::type_info const* typeinfo_;
     template <class T>
     /* implicit */ AnyException(T&& t) noexcept : typeinfo_(&typeid(t)) {}