diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-10 19:36:12 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-10 19:36:12 +0200 |
commit | ca375cc8af4bb9d3a870dd0ff81e9853be216c87 (patch) | |
tree | 2dce91e7281b45f1c5bfd0f971f4b2ca24ed6333 /src/amount.h | |
parent | 4f40c3056a68151f52422d54572fa72c0f19151d (diff) | |
download | fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.gz fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.bz2 fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.zip |
Use #pragma once
Diffstat (limited to 'src/amount.h')
-rw-r--r-- | src/amount.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/amount.h b/src/amount.h index 61d4ae7f..8d0018d7 100644 --- a/src/amount.h +++ b/src/amount.h @@ -50,8 +50,7 @@ * automatically expanded to include as many extra digits as necessary * to avoid losing information. */ -#ifndef INCLUDED_AMOUNT_H -#define INCLUDED_AMOUNT_H +#pragma once #include "utils.h" #include "times.h" @@ -786,5 +785,3 @@ void put_amount(property_tree::ptree& pt, const amount_t& amt, bool commodity_details = false); } // namespace ledger - -#endif // INCLUDED_AMOUNT_H |