summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 07fecdaf7..a8a7db74c 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef EXCEPTIONS_HEADER
-#define EXCEPTIONS_HEADER
+#pragma once
#include <exception>
#include <string>
@@ -129,6 +128,3 @@ public:
BaseException(s)
{}
};
-
-#endif
-