Skip to content

Commit 54bd880

Browse files
committed
C.33_610: changed owner<T>* to owner<T*> per issue 610
Did not change the owner<T> to owner<T*> in the Enforcement section.
1 parent 5eb0b58 commit 54bd880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4018,7 +4018,7 @@ The default copy operation will just copy the `p1.p` into `p2.p` leading to a do
40184018

40194019
template<typename T>
40204020
class Smart_ptr3 {
4021-
owner<T>* p; // OK: explicit about ownership of *p
4021+
owner<T*> p; // OK: explicit about ownership of *p
40224022
// ...
40234023
public:
40244024
// ...

0 commit comments

Comments
 (0)