summaryrefslogtreecommitdiff
path: root/src/balance.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/balance.h
parent4f40c3056a68151f52422d54572fa72c0f19151d (diff)
downloadfork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.gz
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.bz2
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.zip
Use #pragma once
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/balance.h b/src/balance.h
index 9065efe6..0551222b 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -46,8 +46,7 @@
* is designed to allow this, tracking the amounts of each component
* commodity separately.
*/
-#ifndef INCLUDED_BALANCE_H
-#define INCLUDED_BALANCE_H
+#pragma once
#include "amount.h"
@@ -609,5 +608,3 @@ void put_balance(property_tree::ptree& pt, const balance_t& bal);
balance_t average_lot_prices(const balance_t& bal);
} // namespace ledger
-
-#endif // INCLUDED_BALANCE_H