mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Update CppCoreGuidelines.md
Typo
This commit is contained in:
parent
2e5b16736b
commit
23a483ad85
|
@ -5651,7 +5651,7 @@ We can fix that problem by making ownership explicit:
|
|||
class X2 {
|
||||
// ...
|
||||
public:
|
||||
owner<T> p; // OK: p is nowning
|
||||
owner<T> p; // OK: p is owning
|
||||
T* q; // OK: q is not owning
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user