From ca375cc8af4bb9d3a870dd0ff81e9853be216c87 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 10 Apr 2023 19:36:12 +0200 Subject: Use #pragma once --- src/balance.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/balance.h') 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 -- cgit v1.2.3