Skip to content

Commit 257ec2b

Browse files
pre-commit-ci[bot]dantti
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ac85410 commit 257ec2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mimemessage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ void MimeMessage::setSubject(const QString &subject)
193193
void MimeMessage::addPart(const std::shared_ptr<MimePart> &part)
194194
{
195195
if (d->content) {
196-
auto& content = *d->content;
196+
auto &content = *d->content;
197197
if (typeid(content) == typeid(MimeMultiPart)) {
198198
std::static_pointer_cast<MimeMultiPart>(d->content)->addPart(part);
199199
}
@@ -234,7 +234,7 @@ QList<std::shared_ptr<MimePart>> MimeMessage::parts() const
234234
{
235235
QList<std::shared_ptr<MimePart>> ret;
236236
if (d->content) {
237-
auto& content = *d->content;
237+
auto &content = *d->content;
238238
if (typeid(content) == typeid(MimeMultiPart)) {
239239
ret = std::static_pointer_cast<MimeMultiPart>(d->content)->parts();
240240
} else {

0 commit comments

Comments
 (0)