diff options
author | Vincent Richard <[email protected]> | 2013-11-21 21:16:57 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-11-21 21:16:57 +0000 |
commit | f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8 (patch) | |
tree | 2bdc90e361a8f6e0a81164cf67afec9f78f9b959 /src/mdn/sendableMDNInfos.cpp | |
parent | Per-protocol include files. (diff) | |
download | vmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.tar.gz vmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.zip |
Boost/C++11 shared 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 44c0515c..c145c3b6 100644 --- a/src/mdn/sendableMDNInfos.cpp +++ b/src/mdn/sendableMDNInfos.cpp @@ -28,7 +28,7 @@ namespace vmime { namespace mdn { -sendableMDNInfos::sendableMDNInfos(const ref <const message> msg, const mailbox& mbox) +sendableMDNInfos::sendableMDNInfos(const shared_ptr <const message> msg, const mailbox& mbox) : m_msg(msg), m_mailbox(mbox) { } @@ -48,7 +48,7 @@ sendableMDNInfos& sendableMDNInfos::operator=(const sendableMDNInfos& other) } -const ref <const message> sendableMDNInfos::getMessage() const +const shared_ptr <const message> sendableMDNInfos::getMessage() const { return (m_msg); } |