]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/comment.hh
Replace include guard ifdef/define with pragma once
[thirdparty/pdns.git] / pdns / comment.hh
index f159af3f931e51e6c373a8ebe36883f5587850db..6854c094474ec5c92c755d672714e54677d509b4 100644 (file)
@@ -19,9 +19,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#ifndef PDNS_COMMENT_HH
-#define PDNS_COMMENT_HH
-
+#pragma once
 #include "utility.hh"
 #include "qtype.hh"
 #include <sys/types.h>
@@ -41,5 +39,3 @@ public:
   int domain_id;
   QType qtype; //!< qtype of the associated RRset, ie A, CNAME, MX etc
 };
-
-#endif /* PDNS_COMMENT_HH */