diff options
author | Vincent Richard <[email protected]> | 2004-12-08 19:57:10 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-08 19:57:10 +0000 |
commit | c032bcb4286f90f17af979966e3c0b51fc6dd9e2 (patch) | |
tree | ff1470266ccaae38d65675361a511fc43574a9a9 /src/propertySet.hpp | |
parent | Changed 'uname -o' to 'uname -s' for POSIX compatibility. (diff) | |
download | vmime-c032bcb4286f90f17af979966e3c0b51fc6dd9e2.tar.gz vmime-c032bcb4286f90f17af979966e3c0b51fc6dd9e2.zip |
Fixed compilation problems with g++ < 3.4.
Diffstat (limited to 'src/propertySet.hpp')
-rw-r--r-- | src/propertySet.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/propertySet.hpp b/src/propertySet.hpp index 6cffa3ed..569c994d 100644 --- a/src/propertySet.hpp +++ b/src/propertySet.hpp @@ -202,7 +202,8 @@ public: const property* const prop = find(name); if (!prop) throw exceptions::no_such_property(name); - return (prop->getValue <TYPE>()); + //return (prop->getValue <TYPE>()); // BUG: with g++ < 3.4 + return (prop->template getValue <TYPE>()); } /** Get the value of the specified property. @@ -218,7 +219,8 @@ public: const TYPE getProperty(const string& name, const TYPE defaultValue) const { const property* const prop = find(name); - return (prop ? prop->getValue <TYPE>() : defaultValue); + //return (prop ? prop->getValue <TYPE>() : defaultValue); // BUG: with g++ < 3.4 + return (prop ? prop->template getValue <TYPE>() : defaultValue); } /** Change the value of the specified property or create |