From d36b4ce271e04eefbed04dc0b478083a90cfb7ad Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 18 Aug 2014 10:45:04 +0100 Subject: [PATCH] Use QScopedPointer instead of boost --- src/libtomahawk/utils/Closure.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/libtomahawk/utils/Closure.h b/src/libtomahawk/utils/Closure.h index 1763d05f1..37aeb892f 100644 --- a/src/libtomahawk/utils/Closure.h +++ b/src/libtomahawk/utils/Closure.h @@ -38,7 +38,6 @@ using std::tr1::function; #include #include -#include namespace _detail { @@ -101,10 +100,10 @@ class DLLEXPORT Closure : public QObject, boost::noncopyable { bool autoDelete_; QPointer outOfThreadReceiver_; - boost::scoped_ptr val0_; - boost::scoped_ptr val1_; - boost::scoped_ptr val2_; - boost::scoped_ptr val3_; + QScopedPointer val0_; + QScopedPointer val1_; + QScopedPointer val2_; + QScopedPointer val3_; }; class DLLEXPORT SharedPointerWrapper { @@ -146,7 +145,7 @@ class SharedClosure : public Closure { } private: - boost::scoped_ptr shared_sender_; + QScopedPointer shared_sender_; }; } // namespace _detail