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 6e87cbd1fb5969d3ba2b15bc50d6babbcbeb7428..f12be10ab62a16923d0d0d216c84deb08d1edbe2 100644 |
--- a/mojo/public/cpp/bindings/lib/bindings_internal.h |
+++ b/mojo/public/cpp/bindings/lib/bindings_internal.h |
@@ -64,7 +64,7 @@ T FetchAndReset(T* ptr) { |
} |
template <typename H> struct IsHandle { |
- static const bool value = IsBaseOf<Handle, H>::value; |
+ enum { value = IsBaseOf<Handle, H>::value }; |
}; |
template <typename T, bool move_only = IsMoveOnlyType<T>::value> |