Optimize parameter passing to avoid unnecessary copying
This commit is contained in:
@@ -24,7 +24,7 @@ namespace gui {
|
||||
virtual void setOrientation(Orientation orientation);
|
||||
Orientation getOrientation() const;
|
||||
|
||||
virtual void add(std::shared_ptr<UINode> node) override;
|
||||
virtual void add(const std::shared_ptr<UINode> &node) override;
|
||||
|
||||
virtual void refresh() override;
|
||||
virtual void fullRefresh() override;
|
||||
|
||||
Reference in New Issue
Block a user