BIND 10 #2153: change Message::addRRset param to ConstRRsetPtr

BIND 10 Development do-not-reply at isc.org
Mon Jul 30 22:42:11 UTC 2012


#2153: change Message::addRRset param to ConstRRsetPtr
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  jinmei                             |                Status:  new
                       Type:         |             Milestone:  Next-Sprint-
  defect                             |  Proposed
                   Priority:         |            Resolution:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  libdns++                           |  Estimated Difficulty:  0
                   Keywords:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Description changed by jinmei:

Old description:

> I believe, after #254, we can make the `reset` parameter of
> Message::addRRset() to `ConstRRsetPtr`:
> {{{#!cpp
>     void addRRset(const Section section, RRsetPtr rrset, bool sign =
> false);
> }}}
>
> And then we can get rid of const_pointer_cast from auth/query.cc.
>
> Would also depend on #2161.

New description:

 I believe, after #254, we can make the `rrset` parameter of
 Message::addRRset() to `ConstRRsetPtr`:
 {{{#!cpp
     void addRRset(const Section section, RRsetPtr rrset, bool sign =
 false);
 }}}

 And then we can get rid of const_pointer_cast from auth/query.cc.

 Would also depend on #2161.

--

-- 
Ticket URL: <http://bind10.isc.org/ticket/2153#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list