diff options
Diffstat (limited to 'chrome/common/notification_source.h')
-rw-r--r-- | chrome/common/notification_source.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/common/notification_source.h b/chrome/common/notification_source.h index 31077e9..049a12d 100644 --- a/chrome/common/notification_source.h +++ b/chrome/common/notification_source.h @@ -40,6 +40,7 @@ // NotificationService::AllSources(). class NotificationSource { public: + NotificationSource(const NotificationSource& other) : ptr_(other.ptr_) { } ~NotificationSource() {} // NotificationSource can be used as the index for a map; this method @@ -56,12 +57,8 @@ class NotificationSource { protected: NotificationSource(void* ptr) : ptr_(ptr) {} - NotificationSource(const NotificationSource& other) : ptr_(other.ptr_) { } void* ptr_; - - private: - void operator=(const NotificationSource&); }; template <class T> |