mirror of
https://github.com/mat007/turtle.git
synced 2026-08-21 21:19:47 +00:00
Use override instead of virtual
This commit is contained in:
parent
cb9e7e226b
commit
1c168d57fb
8 changed files with 36 additions and 36 deletions
|
|
@ -40,7 +40,7 @@ class my_view : public view
|
|||
{
|
||||
public:
|
||||
my_view() : called(false) {}
|
||||
virtual void display(int result)
|
||||
void display(int result) override
|
||||
{
|
||||
called = true;
|
||||
value = result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue