summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_details.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_details.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_details.h')
-rw-r--r--chrome/common/notification_details.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/notification_details.h b/chrome/common/notification_details.h
index 31378c4..9c7fdff 100644
--- a/chrome/common/notification_details.h
+++ b/chrome/common/notification_details.h
@@ -41,7 +41,6 @@
class NotificationDetails {
public:
NotificationDetails() : ptr_(NULL) {}
- NotificationDetails(const NotificationDetails& other) : ptr_(other.ptr_) {}
~NotificationDetails() {}
// NotificationDetails can be used as the index for a map; this method
@@ -59,8 +58,12 @@ class NotificationDetails {
protected:
NotificationDetails(void* ptr) : ptr_(ptr) {}
+ NotificationDetails(const NotificationDetails& other) : ptr_(other.ptr_) {}
void* ptr_;
+
+private:
+ void operator=(const NotificationDetails&);
};
template <class T>