give all folly exception types default visibility
[folly.git] / folly / experimental / bser / Bser.h
index 571a7fdef6102ad18aa3d213770036ecac2b1312..571e3f5ee4469917f32d63ece8941e401fff3c26 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2017-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 #pragma once
+#include <folly/CPortability.h>
 #include <folly/Optional.h>
 #include <folly/dynamic.h>
 #include <folly/io/IOBuf.h>
@@ -32,7 +33,7 @@
 namespace folly {
 namespace bser {
 
-class BserDecodeError : public std::runtime_error {
+class FOLLY_EXPORT BserDecodeError : public std::runtime_error {
  public:
   using std::runtime_error::runtime_error;
 };