mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Fix some compiler warnings
This commit is contained in:
1 parent
dcd4851171
commit
efef734034
2 files changed
+3
-3
No files matched your search
@@ -43,7 +43,7 @@ public:
|
||||
notificationLevel_ = noticeLevel;
|
||||
notificationString_ = str;
|
||||
}
|
||||
virtual UI::Margins RootMargins() const { return UI::Margins(12, 24); }
|
||||
virtual UI::Margins RootMargins() const override { return UI::Margins(12, 24); }
|
||||
|
||||
protected:
|
||||
virtual bool FillVertical() const { return false; }
|
||||
|
||||
+2
-2
@@ -835,7 +835,7 @@ public:
|
||||
rightText_ = text;
|
||||
}
|
||||
protected:
|
||||
void GetContentDimensionsBySpec(const UIContext &dc, MeasureSpec horiz, MeasureSpec vert, float &w, float &h) const;
|
||||
void GetContentDimensionsBySpec(const UIContext &dc, MeasureSpec horiz, MeasureSpec vert, float &w, float &h) const override;
|
||||
|
||||
private:
|
||||
std::string text_;
|
||||
@@ -1085,7 +1085,7 @@ class ClickableTextView : public TextView {
|
||||
public:
|
||||
ClickableTextView(std::string_view text, LayoutParams *layoutParams = 0)
|
||||
: TextView(text, layoutParams) {}
|
||||
bool Touch(const TouchInput &input);
|
||||
bool Touch(const TouchInput &input) override;
|
||||
Event OnClick;
|
||||
|
||||
private:
|
||||
|
||||
Reference in new issue
Block a user