[svn] commit: r388 - in /branches/jinmei-dnsmessageapi/src/lib/dns/cpp: name.cc name.h

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 18 22:48:37 UTC 2009


Author: jinmei
Date: Fri Dec 18 22:48:37 2009
New Revision: 388

Log:
(re)cleanup: << should be in isc::dns.

Modified:
    branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.cc
    branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h

Modified: branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.cc
==============================================================================
--- branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.cc (original)
+++ branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.cc Fri Dec 18 22:48:37 2009
@@ -666,12 +666,12 @@
 
     return (*this);
 }
-}
-}
 
 std::ostream&
-operator<<(std::ostream& os, const isc::dns::Name& name)
+operator<<(std::ostream& os, const Name& name)
 {
     os << name.toText();
     return (os);
 }
+}
+}

Modified: branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h
==============================================================================
--- branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h (original)
+++ branches/jinmei-dnsmessageapi/src/lib/dns/cpp/name.h Fri Dec 18 22:48:37 2009
@@ -467,8 +467,6 @@
 
     void fromString(const std::string& namestr);
 };
-}
-}
 
 ///
 /// \brief Insert the name as a string into stream.
@@ -485,7 +483,9 @@
 /// \return A reference to the same \c std::ostream object referenced by
 /// parameter \c os after the insertion operation.
 std::ostream&
-operator<<(std::ostream& os, const isc::dns::Name& name);
+operator<<(std::ostream& os, const Name& name);
+}
+}
 #endif // __NAME_H
 
 // Local Variables: 




More information about the bind10-changes mailing list