summaryrefslogtreecommitdiff
path: root/src/error.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-10 19:36:12 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-10 19:36:12 +0200
commitca375cc8af4bb9d3a870dd0ff81e9853be216c87 (patch)
tree2dce91e7281b45f1c5bfd0f971f4b2ca24ed6333 /src/error.h
parent4f40c3056a68151f52422d54572fa72c0f19151d (diff)
downloadfork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.gz
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.bz2
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.zip
Use #pragma once
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/error.h b/src/error.h
index b21f3cdc..63d729d4 100644
--- a/src/error.h
+++ b/src/error.h
@@ -39,8 +39,7 @@
*
* @ingroup util
*/
-#ifndef INCLUDED_ERROR_H
-#define INCLUDED_ERROR_H
+#pragma once
namespace ledger {
@@ -101,5 +100,3 @@ struct error_count {
};
} // namespace ledger
-
-#endif // INCLUDED_ERROR_H