From 37ff9e1e230232f33930318925b12c033285b641 Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Mon, 6 May 2019 17:54:35 +0200 Subject: [PATCH] gems: fix 'sculpt_manager' compile errors with GCC 8.3.0 Fixes #3347 --- repos/gems/src/app/sculpt_manager/model/nic_target.h | 5 +++++ repos/gems/src/app/sculpt_manager/model/popup.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/repos/gems/src/app/sculpt_manager/model/nic_target.h b/repos/gems/src/app/sculpt_manager/model/nic_target.h index 91c1e7ad0..cf0004247 100644 --- a/repos/gems/src/app/sculpt_manager/model/nic_target.h +++ b/repos/gems/src/app/sculpt_manager/model/nic_target.h @@ -44,6 +44,11 @@ struct Sculpt::Nic_target : Noncopyable */ Type manual_type { UNDEFINED }; + /** + * Constructor + */ + Nic_target() { } + /** * Return currently active NIC target type * diff --git a/repos/gems/src/app/sculpt_manager/model/popup.h b/repos/gems/src/app/sculpt_manager/model/popup.h index 2a80366d3..9189327bf 100644 --- a/repos/gems/src/app/sculpt_manager/model/popup.h +++ b/repos/gems/src/app/sculpt_manager/model/popup.h @@ -23,6 +23,8 @@ struct Sculpt::Popup : Noncopyable { enum State { OFF, VISIBLE } state { OFF }; + Popup() { } + Rect anchor { }; void toggle() { state = (state == OFF) ? VISIBLE : OFF; }