From 0e47b11a2ce434817cec61cab3df509804076ea6 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Fri, 27 May 2022 03:29:51 +0200 Subject: [PATCH] Proper include guard --- GCryptCLI/include/Bases.h | 7 ++++++- GCryptCLI/include/CommandlineInterface.h | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/GCryptCLI/include/Bases.h b/GCryptCLI/include/Bases.h index a2678a6..22000c7 100644 --- a/GCryptCLI/include/Bases.h +++ b/GCryptCLI/include/Bases.h @@ -1,4 +1,6 @@ -#pragma once +#ifndef GCRYPTCLI_BASES_H +#define GCRYPTCLI_BASES_H + #include #include #include @@ -136,3 +138,6 @@ static const std::vector BASE_UGH = { "Bah!", "Wha-?" }; + +#endif + diff --git a/GCryptCLI/include/CommandlineInterface.h b/GCryptCLI/include/CommandlineInterface.h index 54d0990..4a6d855 100644 --- a/GCryptCLI/include/CommandlineInterface.h +++ b/GCryptCLI/include/CommandlineInterface.h @@ -1,4 +1,6 @@ -#pragma once +#ifndef GCRYPTCLI_CLIINTERFACE_H +#define GCRYPTCLI_CLIINTERFACE_H + #include class CommandlineInterface @@ -19,3 +21,5 @@ private: static Hazelnp::CmdArgsInterface nupp; }; +#endif +