mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Use default/delete for ctor/dtor
This commit is contained in:
parent
35fa6e63e6
commit
353849e9ad
28 changed files with 100 additions and 92 deletions
|
|
@ -12,7 +12,7 @@ namespace
|
|||
{
|
||||
struct my_base
|
||||
{
|
||||
virtual ~my_base() {}
|
||||
virtual ~my_base() = default;
|
||||
virtual void my_method() = 0;
|
||||
virtual void my_method( int ) = 0;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue