Index: mojo/public/cpp/bindings/lib/template_util.h |
diff --git a/mojo/public/cpp/bindings/lib/template_util.h b/mojo/public/cpp/bindings/lib/template_util.h |
index a90ee442747a043102ac4e809baa75cbe33aba5e..9a5788ce85d6537cf5cba289025cfdd7befad53a 100644 |
--- a/mojo/public/cpp/bindings/lib/template_util.h |
+++ b/mojo/public/cpp/bindings/lib/template_util.h |
@@ -100,7 +100,9 @@ struct IsBaseOf { |
}; |
template <class T> |
-struct RemovePointer {}; |
+struct RemovePointer { |
+ typedef T type; |
+}; |
template <class T> |
struct RemovePointer<T*> { |
typedef T type; |