2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 15:35:17 +00:00

[2284] minor comment update about in-memory finder context's getFinder().

with the cleanup in this ticket we can now actually return NULL, but
intermediate status of other #2283 tickets will require non NULL values.
So, it's probably better to keep the behavior with referring to #2283,
instead of #2284.
This commit is contained in:
JINMEI Tatuya
2012-10-04 14:30:31 -07:00
parent b1d4ff896a
commit f037ebb23c

View File

@@ -538,14 +538,14 @@ public:
const RRClass& rrclass, const ZoneFinderResultContext& result) : const RRClass& rrclass, const ZoneFinderResultContext& result) :
ZoneFinder::Context(options, ResultContext(result.code, result.rrset, ZoneFinder::Context(options, ResultContext(result.code, result.rrset,
result.flags)), result.flags)),
finder_(finder), // NOTE: when #2284 is done we won't need this finder_(finder), // NOTE: when entire #2283 is done we won't need this
rrclass_(rrclass), zone_data_(result.zone_data), rrclass_(rrclass), zone_data_(result.zone_data),
found_node_(result.found_node), found_node_(result.found_node),
found_rdset_(result.found_rdset) found_rdset_(result.found_rdset)
{} {}
protected: protected:
// When #2284 is done this can simply return NULL. // When all tickets in #2283 are done this can simply return NULL.
virtual ZoneFinder* getFinder() { return (&finder_); } virtual ZoneFinder* getFinder() { return (&finder_); }
// We don't use the default protected methods that rely on this method, // We don't use the default protected methods that rely on this method,