remove deprecated constants

This commit is contained in:
Peter Thorson
2013-07-09 16:44:29 -05:00
parent 686b835f3d
commit 2d49035a6d
2 changed files with 1 additions and 11 deletions

View File

@@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE( exact_match ) {
BOOST_CHECK_EQUAL(u->get_secure(), false);
BOOST_CHECK_EQUAL(u->get_host(), "www.example.com");
BOOST_CHECK_EQUAL(u->get_resource(), "/");
BOOST_CHECK_EQUAL(u->get_port(), websocketpp::URI_DEFAULT_PORT);
BOOST_CHECK_EQUAL(u->get_port(), websocketpp::uri_default_port);
env.p.process_handshake(env.req,"",env.res);

View File

@@ -52,18 +52,8 @@ private:
// TODO: figure out why this fixes horrible linking errors.
/// Default port for ws:// [deprecated]
/**
* @deprecated Use uri_default_port instead. Will be removed before 1.0.0
*/
static uint16_t const URI_DEFAULT_PORT = 80;
/// Default port for ws://
static uint16_t const uri_default_port = 80;
/// Default port for wss:// [deprecated]
/**
* @deprecated Use uri_default_secure_port instead. Will be removed before 1.0.0
*/
static uint16_t const URI_DEFAULT_SECURE_PORT = 443;
/// Default port for wss://
static uint16_t const uri_default_secure_port = 443;