diff options
| author | Vincent Richard <[email protected]> | 2005-07-12 22:28:02 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2005-07-12 22:28:02 +0000 |
| commit | 681297e10b666e13cc463f6fbb16236f36c3266c (patch) | |
| tree | 5d2392e2283232ed3475cd9c69e22897b03e8a97 /src/mdn/sendableMDNInfos.cpp | |
| parent | Added contentHandler::extractRaw(). (diff) | |
| download | vmime-681297e10b666e13cc463f6fbb16236f36c3266c.tar.gz vmime-681297e10b666e13cc463f6fbb16236f36c3266c.zip | |
Reference counting and smart pointers.
Diffstat (limited to 'src/mdn/sendableMDNInfos.cpp')
| -rw-r--r-- | src/mdn/sendableMDNInfos.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mdn/sendableMDNInfos.cpp b/src/mdn/sendableMDNInfos.cpp index e8ae8b62..40a0fe96 100644 --- a/src/mdn/sendableMDNInfos.cpp +++ b/src/mdn/sendableMDNInfos.cpp @@ -24,7 +24,7 @@ namespace vmime { namespace mdn { -sendableMDNInfos::sendableMDNInfos(const message* msg, const mailbox& mbox) +sendableMDNInfos::sendableMDNInfos(const ref <const message> msg, const mailbox& mbox) : m_msg(msg), m_mailbox(mbox) { } @@ -44,7 +44,7 @@ sendableMDNInfos& sendableMDNInfos::operator=(const sendableMDNInfos& other) } -const message* sendableMDNInfos::getMessage() const +const ref <const message> sendableMDNInfos::getMessage() const { return (m_msg); } |
