Fixed linking error on Visual Studio.
This commit is contained in:
parent
f3727fd2ad
commit
86f0e14ea5
@ -275,6 +275,9 @@ const string& propertySet::property::getName() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
|
||||||
|
|
||||||
const string& propertySet::property::getValue() const
|
const string& propertySet::property::getValue() const
|
||||||
{
|
{
|
||||||
return (m_value);
|
return (m_value);
|
||||||
@ -287,6 +290,9 @@ void propertySet::property::setValue(const string& value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif // !_MSC_VER
|
||||||
|
|
||||||
|
|
||||||
#ifndef VMIME_INLINE_TEMPLATE_SPECIALIZATION
|
#ifndef VMIME_INLINE_TEMPLATE_SPECIALIZATION
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
|
@ -63,6 +63,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
const string& getName() const;
|
const string& getName() const;
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
|
||||||
|
// Visual Studio errors on linking with these 2 functions,
|
||||||
|
// whereas GCC and CLang need them.
|
||||||
|
|
||||||
/** Return the value of the property as a string.
|
/** Return the value of the property as a string.
|
||||||
*
|
*
|
||||||
* @return current value of the property
|
* @return current value of the property
|
||||||
@ -75,6 +80,8 @@ public:
|
|||||||
*/
|
*/
|
||||||
void setValue(const string& value);
|
void setValue(const string& value);
|
||||||
|
|
||||||
|
#endif // !_MSC_VER
|
||||||
|
|
||||||
/** Set the value of the property as a generic type.
|
/** Set the value of the property as a generic type.
|
||||||
*
|
*
|
||||||
* @param value new value for property
|
* @param value new value for property
|
||||||
|
Loading…
Reference in New Issue
Block a user