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