summaryrefslogtreecommitdiff
path: root/editor/plugins/curve_editor_plugin.h
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2019-07-10 11:54:12 +0200
committerqarmin <mikrutrafal54@gmail.com>2019-07-10 11:54:12 +0200
commit01cc7a996babc9173a393bf3dae080dc14a277c9 (patch)
treecc57520aebe056553aeb8999ef90f9c71cace392 /editor/plugins/curve_editor_plugin.h
parent3bfffcc568d87342e867f95c35a4a19e09072189 (diff)
Use reference to constant in functions
Diffstat (limited to 'editor/plugins/curve_editor_plugin.h')
-rw-r--r--editor/plugins/curve_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/curve_editor_plugin.h b/editor/plugins/curve_editor_plugin.h
index be774a9696..f772e1ff3d 100644
--- a/editor/plugins/curve_editor_plugin.h
+++ b/editor/plugins/curve_editor_plugin.h
@@ -142,7 +142,7 @@ class CurvePreviewGenerator : public EditorResourcePreviewGenerator {
public:
virtual bool handles(const String &p_type) const;
- virtual Ref<Texture> generate(const Ref<Resource> &p_from, const Size2 p_size) const;
+ virtual Ref<Texture> generate(const Ref<Resource> &p_from, const Size2 &p_size) const;
};
#endif // CURVE_EDITOR_PLUGIN_H