Skip to content

Commit 45ad5c4

Browse files
committed
C.49: fix typo in example (closes #1642)
1 parent 2477f27 commit 45ad5c4

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
@@ -5631,7 +5631,7 @@ as [a more general way to present arguments to a function](#Rstr-view):
56315631
class D { // Good
56325632
string s1;
56335633
public:
5634-
A(string_view v) : s1{v} { } // GOOD: directly construct
5634+
D(string_view v) : s1{v} { } // GOOD: directly construct
56355635
// ...
56365636
};
56375637

0 commit comments

Comments
 (0)