From: JINMEI Tatuya Date: Wed, 17 Oct 2012 20:07:40 +0000 (-0700) Subject: [2207] minor style cleanup: constify X-Git-Tag: trac2402_base~12^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83f878b651eb1be66dfcb1453cc074c2b5d3dc3f;p=thirdparty%2Fkea.git [2207] minor style cleanup: constify --- diff --git a/src/lib/datasrc/memory/zone_writer_local.cc b/src/lib/datasrc/memory/zone_writer_local.cc index 44ff03cb5c..de3d91baec 100644 --- a/src/lib/datasrc/memory/zone_writer_local.cc +++ b/src/lib/datasrc/memory/zone_writer_local.cc @@ -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( + segment_->getMemorySegment(), + rrclass_, origin_, zone_data_)); data_ready_ = false; zone_data_ = result.zone_data;