diff --git a/src/mimemessage.cpp b/src/mimemessage.cpp index c955cd0..a9579b3 100644 --- a/src/mimemessage.cpp +++ b/src/mimemessage.cpp @@ -193,7 +193,7 @@ void MimeMessage::setSubject(const QString &subject) void MimeMessage::addPart(const std::shared_ptr &part) { if (d->content) { - auto& content = *d->content; + auto &content = *d->content; if (typeid(content) == typeid(MimeMultiPart)) { std::static_pointer_cast(d->content)->addPart(part); } @@ -234,7 +234,7 @@ QList> MimeMessage::parts() const { QList> ret; if (d->content) { - auto& content = *d->content; + auto &content = *d->content; if (typeid(content) == typeid(MimeMultiPart)) { ret = std::static_pointer_cast(d->content)->parts(); } else {