BIND 10 trac2108_3, updated. 0aa28c0f46b3882585fbb739a322053fa14f68b6 [2108] Make FindResult return non-const ZoneData
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Sep 5 03:56:31 UTC 2012
The branch, trac2108_3 has been updated
via 0aa28c0f46b3882585fbb739a322053fa14f68b6 (commit)
from 558aff98969b401f7505bcc69fd8a1356e157084 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0aa28c0f46b3882585fbb739a322053fa14f68b6
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Sep 5 09:26:05 2012 +0530
[2108] Make FindResult return non-const ZoneData
This is to make it work with InMemoryClient::add() method, which will
modify existing zone data.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/memory/zone_table.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/zone_table.h b/src/lib/datasrc/memory/zone_table.h
index 617cb1e..733e339 100644
--- a/src/lib/datasrc/memory/zone_table.h
+++ b/src/lib/datasrc/memory/zone_table.h
@@ -86,11 +86,11 @@ public:
/// \brief Result data of findZone() method.
struct FindResult {
FindResult(result::Result param_code,
- const ZoneData* param_zone_data) :
+ ZoneData* param_zone_data) :
code(param_code), zone_data(param_zone_data)
{}
const result::Result code;
- const ZoneData* const zone_data;
+ ZoneData* const zone_data;
};
private:
More information about the bind10-changes
mailing list