mirror of https://github.com/stella-emu/stella.git
Fix minor warnings from clang-tidy.
This commit is contained in:
parent
628c6fb370
commit
d7eba0b54c
|
@ -63,7 +63,7 @@ namespace {
|
|||
|
||||
return s.str();
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
CartridgeELFStateWidget::CartridgeELFStateWidget(GuiObject* boss,
|
||||
|
@ -123,7 +123,7 @@ void CartridgeELFStateWidget::initialize()
|
|||
|
||||
y += myQueueSize->getHeight() + lineHeight / 2;
|
||||
|
||||
myNextTransaction = new StaticTextWidget(_boss, _font, x0, y, describeTransaction(0xffff, 0xffff, ~0ll));
|
||||
myNextTransaction = new StaticTextWidget(_boss, _font, x0, y, describeTransaction(0xffff, 0xffff, ~0LL));
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -29,9 +29,9 @@ class StaticTextWidget;
|
|||
class CartridgeELFStateWidget : public CartDebugWidget {
|
||||
public:
|
||||
CartridgeELFStateWidget(GuiObject* boss, const GUI::Font& lfont,
|
||||
const GUI::Font& nfont,
|
||||
int x, int y, int w, int h,
|
||||
CartridgeELF& cart);
|
||||
const GUI::Font& nfont,
|
||||
int x, int y, int w, int h,
|
||||
CartridgeELF& cart);
|
||||
|
||||
~CartridgeELFStateWidget() override = default;
|
||||
|
||||
|
@ -51,6 +51,12 @@ class CartridgeELFStateWidget : public CartDebugWidget {
|
|||
EditTextWidget* myQueueSize{nullptr};
|
||||
StaticTextWidget* myNextTransaction{nullptr};
|
||||
|
||||
private:
|
||||
CartridgeELFStateWidget() = delete;
|
||||
CartridgeELFStateWidget(const CartridgeELFStateWidget&) = delete;
|
||||
CartridgeELFStateWidget(CartridgeELFStateWidget&&) = delete;
|
||||
CartridgeELFStateWidget& operator=(const CartridgeELFStateWidget&) = delete;
|
||||
CartridgeELFStateWidget& operator=(CartridgeELFStateWidget&&) = delete;
|
||||
};
|
||||
|
||||
#endif // CART_ELF_INFO_WIDGET_HXX
|
||||
|
|
Loading…
Reference in New Issue