diff options
Diffstat (limited to 'src/parameter.cpp')
-rw-r--r-- | src/parameter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/parameter.cpp b/src/parameter.cpp index 988755be..e3c84b85 100644 --- a/src/parameter.cpp +++ b/src/parameter.cpp @@ -25,9 +25,9 @@ namespace vmime { -parameter* parameter::clone() const +ref <component> parameter::clone() const { - parameter* p = parameterFactory::getInstance()->create(m_name); + ref <parameter> p = parameterFactory::getInstance()->create(m_name); p->copyFrom(*this); return (p); @@ -169,11 +169,11 @@ void parameter::generateValue(utility::outputStream& os, const string::size_type } -const std::vector <const component*> parameter::getChildComponents() const +const std::vector <ref <const component> > parameter::getChildComponents() const { - std::vector <const component*> list; + std::vector <ref <const component> > list; - list.push_back(&getValue()); + list.push_back(getValueImp()); return (list); } |