Index: mojo/public/cpp/bindings/lib/bindings_internal.h |
diff --git a/mojo/public/cpp/bindings/lib/bindings_internal.h b/mojo/public/cpp/bindings/lib/bindings_internal.h |
index 631daec392e1b9e558a87a198265af474cf953a0..6f73ee6a16c180dd7aae7f418986816ce09c294b 100644 |
--- a/mojo/public/cpp/bindings/lib/bindings_internal.h |
+++ b/mojo/public/cpp/bindings/lib/bindings_internal.h |
@@ -8,8 +8,8 @@ |
#include <stdint.h> |
#include <functional> |
+#include <type_traits> |
-#include "base/template_util.h" |
#include "mojo/public/cpp/bindings/interface_id.h" |
#include "mojo/public/cpp/bindings/lib/template_util.h" |
#include "mojo/public/cpp/system/core.h" |
@@ -325,7 +325,7 @@ struct EnumHashImpl { |
static_assert(std::is_enum<T>::value, "Incorrect hash function."); |
size_t operator()(T input) const { |
- using UnderlyingType = typename base::underlying_type<T>::type; |
+ using UnderlyingType = typename std::underlying_type<T>::type; |
return std::hash<UnderlyingType>()(static_cast<UnderlyingType>(input)); |
} |
}; |