fix(Variant): export as public

This commit is contained in:
Ronan Abhamon 2017-09-15 14:38:02 +02:00
parent acce40efc3
commit de2fed5204

View file

@ -52,7 +52,7 @@ LINPHONE_BEGIN_NAMESPACE
class VariantPrivate;
class Variant {
class LINPHONE_PUBLIC Variant {
public:
enum Type {
Invalid = 0,
@ -97,7 +97,7 @@ public:
template<typename T>
void setValue (const T &value) {
// Yeah, I'm crazy.
// Yeah, I'm crazy but it's useful to avoid code duplication.
new (this) Variant(value);
}