summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_source.h
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 21:18:04 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 21:18:04 +0000
commitb5e3bbf106f2bda83900e526d07dfa10a2164c82 (patch)
tree99d2c9ee87e04955573ed91a2b1256e489f63eb6 /chrome/common/notification_source.h
parent2168a720764a1a223b3ebae4bdc748b83784320c (diff)
downloadchromium_src-b5e3bbf106f2bda83900e526d07dfa10a2164c82.zip
chromium_src-b5e3bbf106f2bda83900e526d07dfa10a2164c82.tar.gz
chromium_src-b5e3bbf106f2bda83900e526d07dfa10a2164c82.tar.bz2
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/notification_source.h')
-rw-r--r--chrome/common/notification_source.h5
1 files changed, 4 insertions, 1 deletions
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 <class T>