[svn] commit: r3168 - /trunk/src/lib/dns/rdata/template.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Oct 11 06:28:50 UTC 2010


Author: jinmei
Date: Mon Oct 11 06:28:50 2010
New Revision: 3168

Log:
style cleanup: brace positions.
trivial, skipping review.

Modified:
    trunk/src/lib/dns/rdata/template.cc

Modified: trunk/src/lib/dns/rdata/template.cc
==============================================================================
--- trunk/src/lib/dns/rdata/template.cc (original)
+++ trunk/src/lib/dns/rdata/template.cc Mon Oct 11 06:28:50 2010
@@ -34,36 +34,29 @@
 // If you added member functions specific to this derived class, you'll need
 // to implement them here, of course.
 
-MyType::MyType(const string& type_str)
-{
+MyType::MyType(const string& type_str) {
 }
 
-MyType::MyType(InputBuffer& buffer, size_t rdata_len)
-{
+MyType::MyType(InputBuffer& buffer, size_t rdata_len) {
 }
 
-MyType::MyType(const MyType& source)
-{
+MyType::MyType(const MyType& source) {
 }
 
 std::string
-MyType::toText() const
-{
+MyType::toText() const {
 }
 
 void
-MyType::toWire(OutputBuffer& buffer) const
-{
+MyType::toWire(OutputBuffer& buffer) const {
 }
 
 void
-MyType::toWire(MessageRenderer& renderer) const
-{
+MyType::toWire(MessageRenderer& renderer) const {
 }
 
 int
-MyType::compare(const Rdata& other) const
-{
+MyType::compare(const Rdata& other) const {
     // The compare method normally begins with this dynamic cast.
     const MyType& other_mytype = dynamic_cast<const MyType&>(other);
     // ...




More information about the bind10-changes mailing list