summaryrefslogtreecommitdiff
path: root/src/value.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/value.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/value.h')
-rw-r--r--src/value.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/value.h b/src/value.h
index b0ac865d..cd539bc2 100644
--- a/src/value.h
+++ b/src/value.h
@@ -46,8 +46,7 @@
* the number 10 to a value object, it's internal type will be
* INTEGER.
*/
-#ifndef INCLUDED_VALUE_H
-#define INCLUDED_VALUE_H
+#pragma once
#include "balance.h" // includes amount.h
#include "mask.h"
@@ -997,5 +996,3 @@ bool sort_value_is_less_than(const std::list<sort_value_t>& left_values,
void put_value(property_tree::ptree& pt, const value_t& value);
} // namespace ledger
-
-#endif // INCLUDED_VALUE_H