From b03c433543d24f47e4a405afbbee0c4b5684d1b8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 13 May 2018 16:08:06 -0400 Subject: [PATCH] DolphinQt2: Add missing header guards for CheatCodeEditor and MappingIndicator Prevents potential double inclusion issues from ever happening. --- Source/Core/DolphinQt2/Config/CheatCodeEditor.h | 2 ++ Source/Core/DolphinQt2/Config/Mapping/MappingIndicator.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Source/Core/DolphinQt2/Config/CheatCodeEditor.h b/Source/Core/DolphinQt2/Config/CheatCodeEditor.h index a586790571..38344f7221 100644 --- a/Source/Core/DolphinQt2/Config/CheatCodeEditor.h +++ b/Source/Core/DolphinQt2/Config/CheatCodeEditor.h @@ -2,6 +2,8 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#pragma once + #include class QDialogButtonBox; diff --git a/Source/Core/DolphinQt2/Config/Mapping/MappingIndicator.h b/Source/Core/DolphinQt2/Config/Mapping/MappingIndicator.h index c563fb2880..62baf47250 100644 --- a/Source/Core/DolphinQt2/Config/Mapping/MappingIndicator.h +++ b/Source/Core/DolphinQt2/Config/Mapping/MappingIndicator.h @@ -2,6 +2,8 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#pragma once + #include namespace ControllerEmu