Fixed compilation issues.

This commit is contained in:
Vincent Richard 2012-10-25 17:09:11 +02:00
parent 28841c2aee
commit 3878c6b691
2 changed files with 1 additions and 5 deletions

View File

@ -41,8 +41,6 @@ namespace vmime
class address : public headerFieldValue class address : public headerFieldValue
{ {
friend class addressList;
protected: protected:
address(); address();
@ -65,8 +63,6 @@ public:
virtual ref <component> clone() const = 0; virtual ref <component> clone() const = 0;
protected:
/** Parse an address from an input buffer. /** Parse an address from an input buffer.
* *
* @param buffer input buffer * @param buffer input buffer

View File

@ -251,7 +251,7 @@ namespace vmime
template <class X, class Y> template <class X, class Y>
ref <X> dynamicCast(ref <Y> y) ref <X> dynamicCast(ref <Y> y)
{ {
return y.dynamicCast <X>(); return y.template dynamicCast <X>();
} }
/** Inherit from this class to indicate the subclass is not copyable, /** Inherit from this class to indicate the subclass is not copyable,