| Index: webrtc/base/template_util.h
|
| diff --git a/webrtc/base/template_util.h b/webrtc/base/template_util.h
|
| index 86e541d8cf2203b456bd278680e59ced4d28a63b..31464cf35db5d4047a7b8d95cb50246b8a23c0df 100644
|
| --- a/webrtc/base/template_util.h
|
| +++ b/webrtc/base/template_util.h
|
| @@ -48,6 +48,19 @@ template <class T> struct is_non_const_reference<const T&> : false_type {};
|
| template <class T> struct is_void : false_type {};
|
| template <> struct is_void<void> : true_type {};
|
|
|
| +template <class T>
|
| +struct remove_reference {
|
| + typedef T type;
|
| +};
|
| +template <class T>
|
| +struct remove_reference<T&> {
|
| + typedef T type;
|
| +};
|
| +template <class T>
|
| +struct remove_reference<T&&> {
|
| + typedef T type;
|
| +};
|
| +
|
| namespace internal {
|
|
|
| // Types YesType and NoType are guaranteed such that sizeof(YesType) <
|
|
|