'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
|
||||
* vmime::create() with private/protected constructors.
|
||||
*/
|
||||
struct creator
|
||||
class creator
|
||||
{
|
||||
public:
|
||||
|
||||
template <class T>
|
||||
static ref <T> create() { return ref <T>::fromPtr(new T); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user