Commit 83f878b6 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2207] minor style cleanup: constify

parent 100929f3
......@@ -71,8 +71,9 @@ ZoneWriterLocal::install() {
if (table == NULL) {
isc_throw(isc::InvalidOperation, "No zone table present");
ZoneTable::AddResult result(table->addZone(segment_->getMemorySegment(),
rrclass_, origin_, zone_data_));
const ZoneTable::AddResult result(table->addZone(
rrclass_, origin_, zone_data_));
data_ready_ = false;
zone_data_ = result.zone_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