Chromium Code Reviews| 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; |
|
viettrungluu
2015/03/04 20:58:13
This is probably right (since it matches[*] the C+
azani
2015/03/05 23:59:25
Yes. Grepping revealed only one use of RemovePoint
|
| +}; |
| template <class T> |
| struct RemovePointer<T*> { |
| typedef T type; |