mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
fix(Variant): export as public
This commit is contained in:
parent
acce40efc3
commit
de2fed5204
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue