diff options
| author | Vincent Richard <[email protected]> | 2012-10-25 17:09:11 +0200 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2012-10-25 17:09:11 +0200 |
| commit | 3878c6b691a66cdc96cb3ab72d534d84a212433f (patch) | |
| tree | 0e405af5343f019e44e294164ad7d7165ad78e15 | |
| parent | Added ignore files (Mac and build files). (diff) | |
| download | vmime-3878c6b691a66cdc96cb3ab72d534d84a212433f.tar.gz vmime-3878c6b691a66cdc96cb3ab72d534d84a212433f.zip | |
Fixed compilation issues.
| -rw-r--r-- | vmime/address.hpp | 4 | ||||
| -rw-r--r-- | vmime/base.hpp | 2 |
2 files changed, 1 insertions, 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 <component> 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 <class X, class 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, |
