Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / base / bind_helpers.h
index e31ef05..f3efc31 100644 (file)
@@ -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>