'struct' to 'class' to avoid warning with MSVC.
This commit is contained in:
parent
3ec0f17ade
commit
7a5f6b9610
@ -167,8 +167,10 @@ namespace vmime
|
|||||||
* Make this class a friend if you want to be able to use
|
* Make this class a friend if you want to be able to use
|
||||||
* vmime::create() with private/protected constructors.
|
* vmime::create() with private/protected constructors.
|
||||||
*/
|
*/
|
||||||
struct creator
|
class creator
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
static ref <T> create() { return ref <T>::fromPtr(new T); }
|
static ref <T> create() { return ref <T>::fromPtr(new T); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user