summaryrefslogtreecommitdiff
path: root/core/variant/variant_parser.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-06 15:47:20 +0200
committerGitHub <noreply@github.com>2022-04-06 15:47:20 +0200
commitac591d9904e4e5cf7841b3e79caabf558d37db0e (patch)
tree70f3bd487e91feb4ca777dba214a09b17041da97 /core/variant/variant_parser.h
parent72407a9cfbd4f58102972c0910429f3ab7006f07 (diff)
parentf851c4aa330e1064a66db50be62db2466f4fb768 (diff)
Merge pull request #59911 from bruvzg/cppcheck_fixes
Diffstat (limited to 'core/variant/variant_parser.h')
-rw-r--r--core/variant/variant_parser.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/variant/variant_parser.h b/core/variant/variant_parser.h
index e5585076c2..b297babd6f 100644
--- a/core/variant/variant_parser.h
+++ b/core/variant/variant_parser.h
@@ -51,9 +51,9 @@ public:
struct StreamFile : public Stream {
FileAccess *f = nullptr;
- virtual char32_t get_char();
- virtual bool is_utf8() const;
- virtual bool is_eof() const;
+ virtual char32_t get_char() override;
+ virtual bool is_utf8() const override;
+ virtual bool is_eof() const override;
StreamFile() {}
};
@@ -62,9 +62,9 @@ public:
String s;
int pos = 0;
- virtual char32_t get_char();
- virtual bool is_utf8() const;
- virtual bool is_eof() const;
+ virtual char32_t get_char() override;
+ virtual bool is_utf8() const override;
+ virtual bool is_eof() const override;
StreamString() {}
};