diff options
author | Michele Calgaro <[email protected]> | 2024-01-22 15:19:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-23 09:51:43 +0900 |
commit | 5d85a610bd02473cbcb1fe25f02c6590b31b6be0 (patch) | |
tree | c32ca7af5b6ccbf66602cb1cf42cd182dad9b999 /kopete/libkopete/ui/kopetelistview.cpp | |
parent | 40393e30bb743346b6b40bf130da35419c12ebdc (diff) | |
download | tdenetwork-5d85a610bd02473cbcb1fe25f02c6590b31b6be0.tar.gz tdenetwork-5d85a610bd02473cbcb1fe25f02c6590b31b6be0.zip |
Replace auto_ptr
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit bfb6a86ee22664339e8922e55216d12e1a5b2008)
Diffstat (limited to 'kopete/libkopete/ui/kopetelistview.cpp')
-rw-r--r-- | kopete/libkopete/ui/kopetelistview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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> toolTip; + std::unique_ptr<ToolTip> toolTip; //! C-tor Private() {} + Private(Private const &) = delete; + Private& operator=(Private const &) = delete; }; ListView::ListView( TQWidget *parent, const char *name ) |