'struct' to 'class' to avoid warning with MSVC.

This commit is contained in:
Vincent Richard 2005-10-05 10:33:16 +00:00
parent 3ec0f17ade
commit 7a5f6b9610

View File

@ -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); }