• JINMEI Tatuya's avatar
    changed the types of QueryTask::qclass/qtype/section from reference to real · a1caa93a
    JINMEI Tatuya authored
    object so that they'll be valid regardless of how the QueryTask is constructed.
    
    In the current usage patter the previous behavior is probably safe, but
    since this object is passed beyond a scope of a single function, there's
    always a risk of retaining a stale reference to a temporary object.  This fix
    solves that potential problem.
    
    Note that copy of these member objects should be cheap because in this sense
    they are mostly native integer types.
    
    
    git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1395 e5f2f494-b856-4b98-b285-d166d9295462
    a1caa93a