mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
don't mark a function virtual that is overriden.
This commit is contained in:
parent
1302e28e32
commit
b3ee667ca5
@ -91,7 +91,7 @@ int to_int(TestEnum t)
|
||||
class TestDerivedType : public TestBaseType
|
||||
{
|
||||
public:
|
||||
virtual int func() override { return 1; }
|
||||
int func() override { return 1; }
|
||||
int derived_only_func() { return 19; }
|
||||
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user