aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-06-28 20:14:59 +0000
committerVincent Richard <[email protected]>2005-06-28 20:14:59 +0000
commit69674e723a03d112622afbe8b55c3f12bee5b201 (patch)
tree4bf5f7496dc39c321fdb1dc6e231395bee0823ec
parentFixed missing includes. (diff)
downloadvmime-69674e723a03d112622afbe8b55c3f12bee5b201.tar.gz
vmime-69674e723a03d112622afbe8b55c3f12bee5b201.zip
Fixed typo in inline template specialization code.
-rw-r--r--vmime/propertySet.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmime/propertySet.hpp b/vmime/propertySet.hpp
index 46df7a95..b1fc0be1 100644
--- a/vmime/propertySet.hpp
+++ b/vmime/propertySet.hpp
@@ -379,13 +379,13 @@ public:
template <>
static const bool valueFromString(const string& value)
{
- if (utility::stringUtils::toLower(m_value) == "true")
+ if (utility::stringUtils::toLower(value) == "true")
return true;
else
{
int val = 0;
- std::istringstream iss(m_value);
+ std::istringstream iss(value);
iss >> val;
return (!iss.fail() && val != 0);