From 4dcee23cb34d5e8b093fb6bf7788505bf0a74451 Mon Sep 17 00:00:00 2001 From: Ingo Weyrich Date: Wed, 30 Oct 2019 18:06:30 +0100 Subject: [PATCH] Fix broken lgtm build --- rtengine/settings.h | 7 ++----- rtgui/options.h | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/rtengine/settings.h b/rtengine/settings.h index 8852c05c8..a32a1b7dd 100644 --- a/rtengine/settings.h +++ b/rtengine/settings.h @@ -16,9 +16,9 @@ * You should have received a copy of the GNU General Public License * along with RawTherapee. If not, see . */ -#ifndef _RTSETTINGS_ -#define _RTSETTINGS_ +#pragma once +#include namespace rtengine { @@ -97,6 +97,3 @@ public: static void destroy(Settings* s); }; } - -#endif - diff --git a/rtgui/options.h b/rtgui/options.h index b2263f59c..33d6b6f90 100644 --- a/rtgui/options.h +++ b/rtgui/options.h @@ -19,6 +19,7 @@ #pragma once #include +#include #include #include "../rtengine/settings.h" #include