summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-11 23:11:19 +0200
committerGitHub <noreply@github.com>2023-04-11 23:11:19 +0200
commit78899a211b2f68e397e9d18b9907509558350901 (patch)
tree429044765545c2a7e2efe8c2ad5a42aed36c5ae6 /src/balance.h
parent8aac3d98ab790040046bbe5b516ae17d89a97906 (diff)
parent72d685a258a8632b6769f033f30ebdea84d612b2 (diff)
downloadfork-ledger-78899a211b2f68e397e9d18b9907509558350901.tar.gz
fork-ledger-78899a211b2f68e397e9d18b9907509558350901.tar.bz2
fork-ledger-78899a211b2f68e397e9d18b9907509558350901.zip
Merge pull request #2230 from afh/pragma-once
Modernize codebase with #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