Fixed error given by g++ 3.3 but not >= 3.4.

This commit is contained in:
Vincent Richard 2005-07-18 17:01:21 +00:00
parent 66ad33c37b
commit c431335c66
3 changed files with 8 additions and 2 deletions

View File

@ -62,6 +62,10 @@ const string NULL_STRING;
*/
const text NULL_TEXT;
/** "Null" (empty) word.
*/
const word NULL_WORD;
/** Return the library name (eg. "libvmime").
*

View File

@ -37,6 +37,7 @@
namespace vmime
{
class text;
class word;
class charset;
@ -47,6 +48,7 @@ namespace vmime
#endif
extern const text NULL_TEXT;
extern const word NULL_WORD;
//

View File

@ -41,8 +41,8 @@ protected:
public:
defaultAttachment(ref <contentHandler> data, const encoding& enc, const mediaType& type, const text& desc = NULL_TEXT, const word& name = NULL_TEXT);
defaultAttachment(ref <contentHandler> data, const mediaType& type, const text& desc = NULL_TEXT, const word& name = NULL_TEXT);
defaultAttachment(ref <contentHandler> data, const encoding& enc, const mediaType& type, const text& desc = NULL_TEXT, const word& name = NULL_WORD);
defaultAttachment(ref <contentHandler> data, const mediaType& type, const text& desc = NULL_TEXT, const word& name = NULL_WORD);
defaultAttachment(const defaultAttachment& attach);
~defaultAttachment();