summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_details.h
diff options
context:
space:
mode:
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>