Commit 4c3dd96d authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

constify.

(trivial)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2580 e5f2f494-b856-4b98-b285-d166d9295462
parent c982ccbb
......@@ -487,7 +487,7 @@ IOServiceImpl::IOServiceImpl(AuthSrv* auth_server, const char& port,
// representation such as "-1" by lexical_cast<uint16_t>, so
// we convert it into a signed integer of a larger size and perform
// range check ourselves.
int32_t portnum32 = boost::lexical_cast<int32_t>(&port);
const int32_t portnum32 = boost::lexical_cast<int32_t>(&port);
if (portnum32 < 0 || portnum32 > 65535) {
isc_throw(IOError, "Invalid port number '" << &port);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment