summaryrefslogtreecommitdiff
path: root/src/compare.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/compare.h
parent4f40c3056a68151f52422d54572fa72c0f19151d (diff)
downloadfork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.gz
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.bz2
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.zip
Use #pragma once
Diffstat (limited to 'src/compare.h')
-rw-r--r--src/compare.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compare.h b/src/compare.h
index 6c7141f6..1a329ad6 100644
--- a/src/compare.h
+++ b/src/compare.h
@@ -39,8 +39,7 @@
*
* @ingroup data
*/
-#ifndef INCLUDED_COMPARE_H
-#define INCLUDED_COMPARE_H
+#pragma once
#include "expr.h"
@@ -96,5 +95,3 @@ bool compare_items<account_t>::operator()(account_t * left,
account_t * right);
} // namespace ledger
-
-#endif // INCLUDED_COMPARE_H