Skip to content

Commit 6760960

Browse files
authored
Merge pull request #613 from tlanc007/C.33_610
C.33_610: changed owner<T>* to owner<T*> per issue 610
2 parents b19d8c2 + 54bd880 commit 6760960

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
@@ -4177,7 +4177,7 @@ The default copy operation will just copy the `p1.p` into `p2.p` leading to a do
41774177

41784178
template<typename T>
41794179
class Smart_ptr3 {
4180-
owner<T>* p; // OK: explicit about ownership of *p
4180+
owner<T*> p; // OK: explicit about ownership of *p
41814181
// ...
41824182
public:
41834183
// ...

0 commit comments

Comments
 (0)