diff --git a/lib/config/aexpression.h b/lib/config/aexpression.h index 3da667651..e9382aa2c 100644 --- a/lib/config/aexpression.h +++ b/lib/config/aexpression.h @@ -46,7 +46,7 @@ enum AOperator /** * @ingroup config */ -class AExpression : public Object +class I2_CONFIG_API AExpression : public Object { public: DECLARE_PTR_TYPEDEFS(AExpression); diff --git a/lib/config/avalue.cpp b/lib/config/avalue.cpp index 8b792e0c7..96aa49319 100644 --- a/lib/config/avalue.cpp +++ b/lib/config/avalue.cpp @@ -32,7 +32,7 @@ AValue::AValue(const AExpression::Ptr& expr) { } AValue::AValue(AValueType type, const Value& value) - : m_Type(type), m_Value(value), m_Expression(NULL) + : m_Type(type), m_Value(value) { } Value AValue::Evaluate(const Object::Ptr& thisRef) const diff --git a/lib/config/avalue.h b/lib/config/avalue.h index 107940025..132da5b93 100644 --- a/lib/config/avalue.h +++ b/lib/config/avalue.h @@ -43,7 +43,7 @@ class AExpression; /** * @ingroup config */ -class AValue +class I2_CONFIG_API AValue { public: AValue(void);