aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/parameter.hpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-11-21 21:16:57 +0000
committerVincent Richard <[email protected]>2013-11-21 21:16:57 +0000
commitf9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8 (patch)
tree2bdc90e361a8f6e0a81164cf67afec9f78f9b959 /vmime/parameter.hpp
parentPer-protocol include files. (diff)
downloadvmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.tar.gz
vmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.zip
Boost/C++11 shared pointers.
Diffstat (limited to 'vmime/parameter.hpp')
-rw-r--r--vmime/parameter.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/vmime/parameter.hpp b/vmime/parameter.hpp
index a3d0f0f8..d872b312 100644
--- a/vmime/parameter.hpp
+++ b/vmime/parameter.hpp
@@ -63,11 +63,11 @@ public:
#endif // VMIME_BUILDING_DOC
- ref <component> clone() const;
+ shared_ptr <component> clone() const;
void copyFrom(const component& other);
parameter& operator=(const parameter& other);
- const std::vector <ref <component> > getChildComponents();
+ const std::vector <shared_ptr <component> > getChildComponents();
/** Return the name of this parameter.
*
@@ -91,7 +91,7 @@ public:
* is equivalent to:
*
* <pre>
- * ref <vmime::word> rawValue = getParameter("creation-date");
+ * shared_ptr <vmime::word> rawValue = getParameter("creation-date");
*
* vmime::dateTime theDate;
* theDate.parse(rawValue->getBuffer());
@@ -143,7 +143,7 @@ private:
string m_name;
- ref <word> m_value;
+ shared_ptr <word> m_value;
};