diff options
Diffstat (limited to 'vmime/net/serviceInfos.hpp')
-rw-r--r-- | vmime/net/serviceInfos.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vmime/net/serviceInfos.hpp b/vmime/net/serviceInfos.hpp index efdc8456..6e3209ca 100644 --- a/vmime/net/serviceInfos.hpp +++ b/vmime/net/serviceInfos.hpp @@ -217,7 +217,7 @@ public: * @return value of the property */ template <typename TYPE> - const TYPE getPropertyValue(ref <session> s, const property& p) const + const TYPE getPropertyValue(shared_ptr <session> s, const property& p) const { if (p.getFlags() & property::FLAG_REQUIRED) return s->getProperties()[getPropertyPrefix() + p.getName()].template getValue <TYPE>(); @@ -233,7 +233,7 @@ public: * @param p property to test * @return true if the property is set, false otherwise */ - bool hasProperty(ref <session> s, const property& p) const; + bool hasProperty(shared_ptr <session> s, const property& p) const; }; |