diff --git a/test/processors/hybi00.cpp b/test/processors/hybi00.cpp index ed830ed24b..5878af7236 100644 --- a/test/processors/hybi00.cpp +++ b/test/processors/hybi00.cpp @@ -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); diff --git a/websocketpp/uri.hpp b/websocketpp/uri.hpp index 52aab4ac20..dd3f100604 100644 --- a/websocketpp/uri.hpp +++ b/websocketpp/uri.hpp @@ -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;