| Index: Source/wtf/NullPtr.h
|
| diff --git a/Source/wtf/NullPtr.h b/Source/wtf/NullPtr.h
|
| index 3e8baa6b3dfd2c5c3254057e3c1f30eccc25e8d7..520963b827efdf0bb7edf35c39379e24f43fc96a 100644
|
| --- a/Source/wtf/NullPtr.h
|
| +++ b/Source/wtf/NullPtr.h
|
| @@ -57,10 +57,16 @@ extern std::nullptr_t nullptr;
|
| #define WTF_DISALLOW_CONSTRUCTION_FROM_ZERO(ClassName) \
|
| private: \
|
| ClassName(int) = delete
|
| +#define WTF_DISALLOW_ZERO_ASSIGNMENT(ClassName) \
|
| + private: \
|
| + ClassName& operator=(int) = delete
|
| #else
|
| #define WTF_DISALLOW_CONSTRUCTION_FROM_ZERO(ClassName) \
|
| private: \
|
| ClassName(int)
|
| +#define WTF_DISALLOW_ZERO_ASSIGNMENT(ClassName) \
|
| + private: \
|
| + ClassName& operator=(int)
|
| #endif
|
|
|
| #endif
|
|
|