From d4e1a74efb51efa796939111aaca31483f6187fa Mon Sep 17 00:00:00 2001 From: ppphp Date: Mon, 25 Mar 2024 04:06:34 +0800 Subject: Add 'override' mark to ResourceFormat class --- drivers/png/resource_saver_png.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers') diff --git a/drivers/png/resource_saver_png.h b/drivers/png/resource_saver_png.h index 2193b4a39b..2c24008074 100644 --- a/drivers/png/resource_saver_png.h +++ b/drivers/png/resource_saver_png.h @@ -39,9 +39,9 @@ public: static Error save_image(const String &p_path, const Ref &p_img); static Vector save_image_to_buffer(const Ref &p_img); - virtual Error save(const Ref &p_resource, const String &p_path, uint32_t p_flags = 0); - virtual bool recognize(const Ref &p_resource) const; - virtual void get_recognized_extensions(const Ref &p_resource, List *p_extensions) const; + virtual Error save(const Ref &p_resource, const String &p_path, uint32_t p_flags = 0) override; + virtual bool recognize(const Ref &p_resource) const override; + virtual void get_recognized_extensions(const Ref &p_resource, List *p_extensions) const override; ResourceSaverPNG(); }; -- cgit v1.2.3