Commit 3942b47e authored by Ronan's avatar Ronan
Browse files

fix(c-tools): avoid usage of typename in structure specialization on Windows

parent 2cc27d66
......@@ -746,8 +746,8 @@ LINPHONE_END_NAMESPACE
defined = true, \
isSubtype = true \
}; \
typedef CppTypeMetaInfo<CPP_TYPE>::cType cType; \
static inline typename CppTypeMetaInfo<CPP_TYPE>::cType *init () { \
using cType = CppTypeMetaInfo<CPP_TYPE>::cType; \
static inline cType *init () { \
return CppTypeMetaInfo<CPP_TYPE>::init(); \
} \
}; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment