mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Let's =default to avoid an out of line definition question
This commit is contained in:
parent
aa645b0372
commit
28e9f02550
|
@ -2122,7 +2122,7 @@ This will force every derived class to compute a center -- even if that's non-tr
|
|||
// ...
|
||||
// ... no data members ...
|
||||
// ...
|
||||
virtual ~Shape() = 0;
|
||||
virtual ~Shape() = default;
|
||||
};
|
||||
|
||||
##### Enforcement
|
||||
|
|
Loading…
Reference in New Issue
Block a user