]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Shrink Comment from 48 to 40 bytes
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 22 May 2015 15:57:35 +0000 (17:57 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 19 Jun 2015 18:14:19 +0000 (20:14 +0200)
pdns/comment.hh

index bb18fef38213c01ccc89eb6cf07de5048a279979..2fd3e5ea99c654af5171b5925c3011d1eaf562b9 100644 (file)
 class Comment
 {
 public:
-  Comment() : domain_id(0), modified_at(0) {};
+  Comment() : modified_at(0), domain_id(0)  {};
   ~Comment() {};
 
   // data
-  int domain_id;
   string qname; //!< the name of the associated RRset, for example: www.powerdns.com
-  QType qtype; //!< qtype of the associated RRset, ie A, CNAME, MX etc
   time_t modified_at;
   string account; //!< account last updating this comment
   string content; //!< The actual comment. Example: blah blah
+
+  int domain_id;
+  QType qtype; //!< qtype of the associated RRset, ie A, CNAME, MX etc
 };
 
 #endif /* PDNS_COMMENT_HH */