]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/pdnsexception.hh
Replace include guard ifdef/define with pragma once
[thirdparty/pdns.git] / pdns / pdnsexception.hh
index f820f551599fb65f0b4339d9307ae4e7ad9fd32c..67fce0adcec62839f2b48c05215b39aacc2fd7fa 100644 (file)
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#ifndef PDNSEXCEPTION_HH
-#define PDNSEXCEPTION_HH
-/* (C) 2002 POWERDNS.COM BV */
-
+#pragma once
 #include<string>
 
 #include "namespaces.hh"
@@ -43,5 +40,3 @@ public:
   TimeoutException() : PDNSException() {}
   TimeoutException(string r) : PDNSException(r) {}
 };
-
-#endif