1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Use reference to constant in functions

This commit is contained in:
qarmin
2019-07-10 11:54:12 +02:00
parent 3bfffcc568
commit 01cc7a996b
42 changed files with 82 additions and 82 deletions

View File

@@ -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