mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Pass -Wshadow (#97)
Requested from: https://github.com/robinlinden/hastur/pull/12
This commit is contained in:
@@ -45,10 +45,12 @@ class Separator : public Node {
|
||||
|
||||
class SeparatorWithPixel : public Separator {
|
||||
public:
|
||||
SeparatorWithPixel(Pixel p) : p(p) {}
|
||||
SeparatorWithPixel(Pixel pixel) : pixel_(pixel) {}
|
||||
~SeparatorWithPixel() override {}
|
||||
void Render(Screen& screen) override { RenderWithPixel(screen, p); }
|
||||
Pixel p;
|
||||
void Render(Screen& screen) override { RenderWithPixel(screen, pixel_); }
|
||||
|
||||
private:
|
||||
Pixel pixel_;
|
||||
};
|
||||
|
||||
Element separator() {
|
||||
|
Reference in New Issue
Block a user