mu-message-file/-part: small fixes

Handle is_new in all cases.

Use starts_with where applicable (C++20)

Update unit-tests
This commit is contained in:
Dirk-Jan C. Binnema
2026-07-23 12:03:10 +03:00
committed by Seth Ladygo
parent 51d5ab3163
commit a9a57d0511
3 changed files with 31 additions and 21 deletions

View File

@ -47,6 +47,13 @@ public:
*/
MessagePart(const MessagePart& other);
/**
* Move CTOR
*
* @param other
*/
MessagePart(MessagePart&& other) noexcept;
/**
* DTOR
*
@ -159,7 +166,7 @@ public:
struct Private;
private:
const std::unique_ptr<MimeObject> mime_obj;
std::unique_ptr<MimeObject> mime_obj;
};
} // namespace Mu