mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
C.49: fix typo in example (closes #1642)
This commit is contained in:
parent
2477f275dc
commit
45ad5c4628
|
@ -5631,7 +5631,7 @@ as [a more general way to present arguments to a function](#Rstr-view):
|
|||
class D { // Good
|
||||
string s1;
|
||||
public:
|
||||
A(string_view v) : s1{v} { } // GOOD: directly construct
|
||||
D(string_view v) : s1{v} { } // GOOD: directly construct
|
||||
// ...
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user