Add missing ABSL_DLL for a few functions (#1002)

pull/1008/head
Cheng Zhao 4 years ago committed by GitHub
parent 8910297baf
commit f9d3bc9e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      absl/types/bad_optional_access.h
  2. 4
      absl/types/bad_variant_access.h

@ -67,7 +67,7 @@ class bad_optional_access : public std::exception {
namespace optional_internal { namespace optional_internal {
// throw delegator // throw delegator
[[noreturn]] void throw_bad_optional_access(); [[noreturn]] ABSL_DLL void throw_bad_optional_access();
} // namespace optional_internal } // namespace optional_internal
ABSL_NAMESPACE_END ABSL_NAMESPACE_END

@ -70,8 +70,8 @@ class bad_variant_access : public std::exception {
namespace variant_internal { namespace variant_internal {
[[noreturn]] void ThrowBadVariantAccess(); [[noreturn]] ABSL_DLL void ThrowBadVariantAccess();
[[noreturn]] void Rethrow(); [[noreturn]] ABSL_DLL void Rethrow();
} // namespace variant_internal } // namespace variant_internal
ABSL_NAMESPACE_END ABSL_NAMESPACE_END

Loading…
Cancel
Save