From b5e3bbf106f2bda83900e526d07dfa10a2164c82 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Fri, 15 Aug 2008 21:18:04 +0000 Subject: git-svn-id: svn://svn.chromium.org/chrome/trunk/src@963 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/notification_source.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome/common/notification_source.h') diff --git a/chrome/common/notification_source.h b/chrome/common/notification_source.h index 049a12d..31077e9 100644 --- a/chrome/common/notification_source.h +++ b/chrome/common/notification_source.h @@ -40,7 +40,6 @@ // 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 @@ -57,8 +56,12 @@ class NotificationSource { protected: NotificationSource(void* ptr) : ptr_(ptr) {} + NotificationSource(const NotificationSource& other) : ptr_(other.ptr_) { } void* ptr_; + + private: + void operator=(const NotificationSource&); }; template -- cgit v1.1