Commit 47bb7307 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

cleanup: removed unnecessary vector.resize()


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1093 e5f2f494-b856-4b98-b285-d166d9295462
parent 723715b9
......@@ -115,7 +115,6 @@ Generic::Generic(InputBuffer& buffer, size_t rdata_len)
vector<uint8_t> data(rdata_len);
buffer.readData(&data[0], rdata_len);
data.resize(rdata_len);
impl_ = new GenericImpl(data);
}
......
Supports Markdown
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