Commit 14eeeef7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use std::unique_ptr

parent 23e33e05
Pipeline #48255 failed with stage
in 17 minutes and 39 seconds
......@@ -289,8 +289,6 @@ FilterManager::FilterManager(QObject *parent)
FilterManager::~FilterManager()
{
clear();
delete d;
}
void FilterManager::clear()
......
......@@ -12,7 +12,7 @@
#include <AkonadiCore/item.h>
#include <MailCommon/SearchPattern>
#include <memory>
namespace MailCommon {
class MailFilter;
class ItemContext;
......@@ -139,7 +139,7 @@ Q_SIGNALS:
private:
//@cond PRIVATE
class Private;
Private *d;
std::unique_ptr<Private> const d;
//@endcond
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment