summaryrefslogtreecommitdiff
path: root/src/times.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/times.h
parent4f40c3056a68151f52422d54572fa72c0f19151d (diff)
downloadfork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.gz
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.bz2
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.zip
Use #pragma once
Diffstat (limited to 'src/times.h')
-rw-r--r--src/times.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/times.h b/src/times.h
index a7a92825..b9d48521 100644
--- a/src/times.h
+++ b/src/times.h
@@ -41,8 +41,7 @@
*
* @brief datetime_t and date_t objects
*/
-#ifndef INCLUDED_TIMES_H
-#define INCLUDED_TIMES_H
+#pragma once
#include "utils.h"
@@ -532,5 +531,3 @@ void show_period_tokens(std::ostream& out, const string& arg);
std::ostream& operator<<(std::ostream& out, const date_duration_t& duration);
} // namespace ledger
-
-#endif // INCLUDED_TIMES_H