diff options
author | qarmin <mikrutrafal54@gmail.com> | 2019-07-10 11:54:12 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2019-07-10 11:54:12 +0200 |
commit | 01cc7a996babc9173a393bf3dae080dc14a277c9 (patch) | |
tree | cc57520aebe056553aeb8999ef90f9c71cace392 /scene/main/scene_tree.h | |
parent | 3bfffcc568d87342e867f95c35a4a19e09072189 (diff) |
Use reference to constant in functions
Diffstat (limited to 'scene/main/scene_tree.h')
-rw-r--r-- | scene/main/scene_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/scene_tree.h b/scene/main/scene_tree.h index 0bcb724929..98f2fe5e35 100644 --- a/scene/main/scene_tree.h +++ b/scene/main/scene_tree.h @@ -386,7 +386,7 @@ public: void get_nodes_in_group(const StringName &p_group, List<Node *> *p_list); bool has_group(const StringName &p_identifier) const; - void set_screen_stretch(StretchMode p_mode, StretchAspect p_aspect, const Size2 p_minsize, real_t p_shrink = 1); + void set_screen_stretch(StretchMode p_mode, StretchAspect p_aspect, const Size2 &p_minsize, real_t p_shrink = 1); void set_use_font_oversampling(bool p_oversampling); bool is_using_font_oversampling() const; |