diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-11 23:11:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 23:11:19 +0200 |
commit | 78899a211b2f68e397e9d18b9907509558350901 (patch) | |
tree | 429044765545c2a7e2efe8c2ad5a42aed36c5ae6 /src/option.h | |
parent | 8aac3d98ab790040046bbe5b516ae17d89a97906 (diff) | |
parent | 72d685a258a8632b6769f033f30ebdea84d612b2 (diff) | |
download | fork-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/option.h')
-rw-r--r-- | src/option.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/option.h b/src/option.h index 0d6c5140..35b1c893 100644 --- a/src/option.h +++ b/src/option.h @@ -41,8 +41,7 @@ * * @brief Basic type and macros for handling command-line options */ -#ifndef INCLUDED_OPTION_H -#define INCLUDED_OPTION_H +#pragma once #include "scope.h" @@ -299,5 +298,3 @@ strings_list process_arguments(strings_list args, scope_t& scope); DECLARE_EXCEPTION(option_error, std::runtime_error); } // namespace ledger - -#endif // INCLUDED_OPTION_H |