| Index: base/memory/scoped_ptr.h
|
| diff --git a/base/memory/scoped_ptr.h b/base/memory/scoped_ptr.h
|
| index b3d5a35d593c44a4b5a85e93c6c9f9a419599bdf..51750d36feb8ecd9c1fb9804a910089005a4a507 100644
|
| --- a/base/memory/scoped_ptr.h
|
| +++ b/base/memory/scoped_ptr.h
|
| @@ -239,8 +239,8 @@ template <class T, class D = std::default_delete<T>>
|
| class scoped_ptr {
|
| MOVE_ONLY_TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03(scoped_ptr)
|
|
|
| - COMPILE_ASSERT(base::internal::IsNotRefCounted<T>::value,
|
| - T_is_refcounted_type_and_needs_scoped_refptr);
|
| + static_assert(base::internal::IsNotRefCounted<T>::value,
|
| + "T is a refcounted type and needs a scoped_refptr");
|
|
|
| public:
|
| // The element and deleter types.
|
|
|