Fixed undefined symbol 'UNSPECIFIED_PORT'.
This commit is contained in:
parent
658fcc26b5
commit
7ac14499f0
@ -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";
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user