mirror of https://github.com/stella-emu/stella.git
Fix compile error in clang; something to do with unique_ptr can't have default d'tor.
This commit is contained in:
parent
13c616c4c8
commit
c05fa1989f
|
@ -38,7 +38,7 @@
|
|||
UIDialog::UIDialog(OSystem& osystem, DialogContainer& parent,
|
||||
const GUI::Font& font)
|
||||
: Dialog(osystem, parent, font, "User interface settings"),
|
||||
myFont(font)
|
||||
myFont(font)
|
||||
{
|
||||
const GUI::Font& ifont = instance().frameBuffer().infoFont();
|
||||
const int lineHeight = font.getLineHeight(),
|
||||
|
@ -195,6 +195,11 @@ UIDialog::UIDialog(OSystem& osystem, DialogContainer& parent,
|
|||
addBGroupToFocusList(wid);
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
UIDialog::~UIDialog()
|
||||
{
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void UIDialog::loadConfig()
|
||||
{
|
||||
|
|
|
@ -35,7 +35,7 @@ class UIDialog : public Dialog
|
|||
{
|
||||
public:
|
||||
UIDialog(OSystem& osystem, DialogContainer& parent, const GUI::Font& font);
|
||||
virtual ~UIDialog() = default;
|
||||
virtual ~UIDialog();
|
||||
|
||||
private:
|
||||
void loadConfig() override;
|
||||
|
|
Loading…
Reference in New Issue