mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-19 01:38:08 +08:00
Pass -Wshadow (#97)
Requested from: https://github.com/robinlinden/hastur/pull/12
This commit is contained in:
@@ -49,8 +49,8 @@ RadioboxBase* RadioboxBase::From(Component component) {
|
||||
}
|
||||
|
||||
RadioboxBase::RadioboxBase(const std::vector<std::wstring>* entries,
|
||||
int* selected_)
|
||||
: entries_(entries), selected_(selected_) {}
|
||||
int* selected)
|
||||
: entries_(entries), selected_(selected) {}
|
||||
|
||||
Element RadioboxBase::Render() {
|
||||
std::vector<Element> elements;
|
||||
|
@@ -44,7 +44,7 @@ class TerminalInputParser {
|
||||
CursorReporting cursor;
|
||||
};
|
||||
|
||||
Output(Type type) : type(type) {}
|
||||
Output(Type t) : type(t) {}
|
||||
};
|
||||
|
||||
void Send(Output type);
|
||||
|
Reference in New Issue
Block a user