aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility/url.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-07-12 22:28:02 +0000
committerVincent Richard <[email protected]>2005-07-12 22:28:02 +0000
commit681297e10b666e13cc463f6fbb16236f36c3266c (patch)
tree5d2392e2283232ed3475cd9c69e22897b03e8a97 /src/utility/url.cpp
parentAdded contentHandler::extractRaw(). (diff)
downloadvmime-681297e10b666e13cc463f6fbb16236f36c3266c.tar.gz
vmime-681297e10b666e13cc463f6fbb16236f36c3266c.zip
Reference counting and smart pointers.
Diffstat (limited to 'src/utility/url.cpp')
-rw-r--r--src/utility/url.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utility/url.cpp b/src/utility/url.cpp
index cf991b86..a2d4e32b 100644
--- a/src/utility/url.cpp
+++ b/src/utility/url.cpp
@@ -122,7 +122,7 @@ const string url::build() const
oss << urlUtils::encode(m_path);
}
- const std::vector <const propertySet::property*> params
+ const std::vector <ref <const propertySet::property> > params
= m_params.getPropertyList();
if (!params.empty())
@@ -134,7 +134,7 @@ const string url::build() const
for (unsigned int i = 0 ; i < params.size() ; ++i)
{
- const propertySet::property* prop = params[i];
+ const ref <const propertySet::property> prop = params[i];
if (i != 0)
oss << "&";