Index: gin/wrappable.h |
diff --git a/gin/wrappable.h b/gin/wrappable.h |
index f7d82b0d5a71953cdc84ecec013d9094d5237848..e6c7a716b43a826f98ab26f7e0425e0a523401ec 100644 |
--- a/gin/wrappable.h |
+++ b/gin/wrappable.h |
@@ -5,6 +5,8 @@ |
#ifndef GIN_WRAPPABLE_H_ |
#define GIN_WRAPPABLE_H_ |
+#include <type_traits> |
+ |
#include "base/template_util.h" |
#include "gin/converter.h" |
#include "gin/gin_export.h" |
@@ -101,9 +103,10 @@ class Wrappable : public WrappableBase { |
// This converter handles any subclass of Wrappable. |
-template<typename T> |
-struct Converter<T*, typename base::enable_if< |
- base::is_convertible<T*, WrappableBase*>::value>::type> { |
+template <typename T> |
+struct Converter<T*, |
+ typename std::enable_if< |
+ base::is_convertible<T*, WrappableBase*>::value>::type> { |
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate, T* val) { |
return val->GetWrapper(isolate); |
} |