summaryrefslogtreecommitdiff
path: root/src/xact.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/xact.h
parent4f40c3056a68151f52422d54572fa72c0f19151d (diff)
downloadfork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.gz
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.bz2
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.zip
Use #pragma once
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xact.h b/src/xact.h
index 773b5906..4882acd2 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -39,8 +39,7 @@
*
* @ingroup data
*/
-#ifndef INCLUDED_XACT_H
-#define INCLUDED_XACT_H
+#pragma once
#include "item.h"
#include "predicate.h"
@@ -235,5 +234,3 @@ typedef std::list<period_xact_t *> period_xacts_list;
void put_xact(property_tree::ptree& pt, const xact_t& xact);
} // namespace ledger
-
-#endif // INCLUDED_XACT_H