From 5d85a610bd02473cbcb1fe25f02c6590b31b6be0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 22 Jan 2024 15:19:33 +0900 Subject: Replace auto_ptr Signed-off-by: Michele Calgaro (cherry picked from commit bfb6a86ee22664339e8922e55216d12e1a5b2008) --- kopete/libkopete/ui/kopetelistview.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kopete/libkopete/ui/kopetelistview.cpp') diff --git a/kopete/libkopete/ui/kopetelistview.cpp b/kopete/libkopete/ui/kopetelistview.cpp index 6d9952ad..8ae78229 100644 --- a/kopete/libkopete/ui/kopetelistview.cpp +++ b/kopete/libkopete/ui/kopetelistview.cpp @@ -97,9 +97,11 @@ void ToolTip::maybeTip( const TQPoint &pos ) struct ListView::Private { TQTimer sortTimer; - std::auto_ptr toolTip; + std::unique_ptr toolTip; //! C-tor Private() {} + Private(Private const &) = delete; + Private& operator=(Private const &) = delete; }; ListView::ListView( TQWidget *parent, const char *name ) -- cgit v1.2.1