Index: src/base/functional.h |
diff --git a/src/base/functional.h b/src/base/functional.h |
index ff0d8075b943079de99555dc9ec733ca5ba0337b..634e7bac85afe677d00d7eaa30bdde2c6cb87f00 100644 |
--- a/src/base/functional.h |
+++ b/src/base/functional.h |
@@ -13,6 +13,7 @@ |
#include <functional> |
#include <utility> |
+#include "src/base/base-export.h" |
#include "src/base/macros.h" |
namespace v8 { |
@@ -67,7 +68,7 @@ struct hash; |
V8_INLINE size_t hash_combine() { return 0u; } |
V8_INLINE size_t hash_combine(size_t seed) { return seed; } |
-size_t hash_combine(size_t seed, size_t value); |
+V8_BASE_EXPORT size_t hash_combine(size_t seed, size_t value); |
template <typename T, typename... Ts> |
V8_INLINE size_t hash_combine(T const& v, Ts const&... vs) { |
return hash_combine(hash_combine(vs...), hash<T>()(v)); |
@@ -91,9 +92,9 @@ V8_BASE_HASH_VALUE_TRIVIAL(unsigned char) |
V8_BASE_HASH_VALUE_TRIVIAL(unsigned short) // NOLINT(runtime/int) |
#undef V8_BASE_HASH_VALUE_TRIVIAL |
-size_t hash_value(unsigned int); |
-size_t hash_value(unsigned long); // NOLINT(runtime/int) |
-size_t hash_value(unsigned long long); // NOLINT(runtime/int) |
+V8_BASE_EXPORT size_t hash_value(unsigned int); |
+V8_BASE_EXPORT size_t hash_value(unsigned long); // NOLINT(runtime/int) |
+V8_BASE_EXPORT size_t hash_value(unsigned long long); // NOLINT(runtime/int) |
#define V8_BASE_HASH_VALUE_SIGNED(type) \ |
V8_INLINE size_t hash_value(signed type v) { \ |