Fix minor compile warning.

This commit is contained in:
Stephen Anthony 2019-03-23 19:46:08 -02:30
parent 9dc53042c5
commit 9c905bc53e
2 changed files with 2 additions and 6 deletions

View File

@ -21,8 +21,7 @@
CartridgeCDFInfoWidget::CartridgeCDFInfoWidget(
GuiObject* boss, const GUI::Font& lfont, const GUI::Font& nfont,
int x, int y, int w, int h, CartridgeCDF& cart)
: CartDebugWidget(boss, lfont, nfont, x, y, w, h),
myCart(cart)
: CartDebugWidget(boss, lfont, nfont, x, y, w, h)
{
uInt16 size = 8 * 4096;
@ -65,4 +64,4 @@ string CartridgeCDFInfoWidget::describeCDFVersion(CartridgeCDF::CDFSubtype subty
default:
throw runtime_error("unreachable");
}
}
}

View File

@ -30,9 +30,6 @@ class CartridgeCDFInfoWidget : public CartDebugWidget
CartridgeCDF& cart);
virtual ~CartridgeCDFInfoWidget() = default;
private:
CartridgeCDF& myCart;
private:
static string describeCDFVersion(CartridgeCDF::CDFSubtype subtype);