[svn] commit: r505 - /branches/jinmei-dnsrdata/src/lib/dns/cpp/rdata.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jan 21 22:18:38 UTC 2010


Author: jinmei
Date: Thu Jan 21 22:18:38 2010
New Revision: 505

Log:
make function signature of createRdataFromText() consistent between .h
and .cc to be friendly with doxygen

Modified:
    branches/jinmei-dnsrdata/src/lib/dns/cpp/rdata.cc

Modified: branches/jinmei-dnsrdata/src/lib/dns/cpp/rdata.cc
==============================================================================
--- branches/jinmei-dnsrdata/src/lib/dns/cpp/rdata.cc (original)
+++ branches/jinmei-dnsrdata/src/lib/dns/cpp/rdata.cc Thu Jan 21 22:18:38 2010
@@ -38,9 +38,11 @@
 namespace dns {
 namespace rdata {
 
+// XXX: we need to specify std:: for string to help doxygen match the
+// function signature with that given in the header file.
 RdataPtr
 createRdataFromText(const RRType& rrtype, const RRClass& rrclass,
-                    const string& rdata_string)
+                    const std::string& rdata_string)
 {
     return (RRParamRegistry::getRegistry().createRdataFromText(rrtype, rrclass,
                                                                rdata_string));




More information about the bind10-changes mailing list