Commit 60cb9b23 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Private class is not necessary here

parent 3b7a9d01
Pipeline #87744 canceled with stage
......@@ -22,19 +22,7 @@
using namespace Syndication;
using namespace Akregator;
class Akregator::ArticleFormatterPrivate
{
public:
explicit ArticleFormatterPrivate();
class SummaryVisitor;
};
ArticleFormatterPrivate::ArticleFormatterPrivate()
{
}
ArticleFormatter::ArticleFormatter()
: d(new ArticleFormatterPrivate())
{
}
......
......@@ -11,8 +11,6 @@
#include <QVector>
#include <enclosure.h>
#include <memory>
namespace Akregator
{
class Article;
......@@ -35,7 +33,6 @@ public:
static QString formatEnclosure(const Syndication::Enclosure &enclosure);
private:
std::unique_ptr<ArticleFormatterPrivate> const d;
Q_DISABLE_COPY(ArticleFormatter)
};
} // namespace Akregator
......
Supports Markdown
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