Fixed undefined symbol 'UNSPECIFIED_PORT'.

This commit is contained in:
Vincent Richard 2005-08-25 21:15:17 +00:00
parent 658fcc26b5
commit 7ac14499f0
2 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,9 @@ namespace vmime {
namespace utility {
// Unspecified port
const port_t url::UNSPECIFIED_PORT = static_cast <port_t>(-1);
// Known protocols
const string url::PROTOCOL_FILE = "file";
const string url::PROTOCOL_HTTP = "http";

View File

@ -39,7 +39,7 @@ class url
public:
/** Means "port not specified" (use default port). */
static const port_t UNSPECIFIED_PORT = static_cast <port_t>(-1);
static const port_t UNSPECIFIED_PORT;
/** Standard name for FILE protocol (local file-system). */
static const string PROTOCOL_FILE;