From 3878c6b691a66cdc96cb3ab72d534d84a212433f Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 25 Oct 2012 17:09:11 +0200 Subject: Fixed compilation issues. --- vmime/address.hpp | 4 ---- vmime/base.hpp | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/vmime/address.hpp b/vmime/address.hpp index 188d6ec4..db5a2384 100644 --- a/vmime/address.hpp +++ b/vmime/address.hpp @@ -41,8 +41,6 @@ namespace vmime class address : public headerFieldValue { - friend class addressList; - protected: address(); @@ -65,8 +63,6 @@ public: virtual ref clone() const = 0; -protected: - /** Parse an address from an input buffer. * * @param buffer input buffer diff --git a/vmime/base.hpp b/vmime/base.hpp index b7940311..957793d3 100644 --- a/vmime/base.hpp +++ b/vmime/base.hpp @@ -251,7 +251,7 @@ namespace vmime template ref dynamicCast(ref y) { - return y.dynamicCast (); + return y.template dynamicCast (); } /** Inherit from this class to indicate the subclass is not copyable, -- cgit v1.2.3