Commit 3d191e65 authored by Laurent Montel's avatar Laurent Montel 😁

Const'ref

parent eed7eb78
......@@ -1361,7 +1361,7 @@ private:
QString mExpandIcon;
};
DefaultRenderer::DefaultRenderer(MimeTreeParser::Interface::MessagePart::Ptr msgPart)
DefaultRenderer::DefaultRenderer(const MimeTreeParser::Interface::MessagePart::Ptr &msgPart)
: d(new MimeTreeParser::DefaultRendererPrivate(this, msgPart))
{
}
......
......@@ -42,7 +42,7 @@ class DefaultRendererPrivate;
class DefaultRenderer : public MimeTreeParser::Interface::MessagePartRenderer
{
public:
DefaultRenderer(MimeTreeParser::Interface::MessagePartPtr msgPart);
DefaultRenderer(const MimeTreeParser::Interface::MessagePartPtr& msgPart);
~DefaultRenderer();
QString html() const Q_DECL_OVERRIDE;
......
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