Index: base/bind_helpers.h |
diff --git a/base/bind_helpers.h b/base/bind_helpers.h |
index e31ef05ff1a78cf41353b110d18a93984d8fdfd4..f3efc31953c78b349bf1b7e2d23c802129f54ac9 100644 |
--- a/base/bind_helpers.h |
+++ b/base/bind_helpers.h |
@@ -251,7 +251,7 @@ class SupportsAddRefAndRelease { |
static Yes& Check(...); |
public: |
- static const bool value = sizeof(Check<Base>(0)) == sizeof(Yes); |
+ enum { value = sizeof(Check<Base>(0)) == sizeof(Yes) }; |
}; |
// Helpers to assert that arguments of a recounted type are bound with a |
@@ -286,7 +286,7 @@ class HasIsMethodTag { |
static No& Check(...); |
public: |
- static const bool value = sizeof(Check<T>(0)) == sizeof(Yes); |
+ enum { value = sizeof(Check<T>(0)) == sizeof(Yes) }; |
}; |
template <typename T> |