gems: fix 'sculpt_manager' compile errors with GCC 8.3.0

Fixes #3347
This commit is contained in:
Christian Prochaska 2019-05-06 17:54:35 +02:00 committed by Christian Helmuth
parent c8c354d1e6
commit 37ff9e1e23
2 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,11 @@ struct Sculpt::Nic_target : Noncopyable
*/
Type manual_type { UNDEFINED };
/**
* Constructor
*/
Nic_target() { }
/**
* Return currently active NIC target type
*

View File

@ -23,6 +23,8 @@ struct Sculpt::Popup : Noncopyable
{
enum State { OFF, VISIBLE } state { OFF };
Popup() { }
Rect anchor { };
void toggle() { state = (state == OFF) ? VISIBLE : OFF; }