mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Merge pull request #495 from jvoorhis/c.30-fix-typo
Fix typographical error (variable name) in example for C.30.
This commit is contained in:
commit
f52cc108e0
|
@ -3545,7 +3545,7 @@ Only define a non-default destructor if a class needs to execute code that is no
|
|||
template<typename A>
|
||||
final_action<A> finally(A act) // deduce action type
|
||||
{
|
||||
return final_action<A>{a};
|
||||
return final_action<A>{act};
|
||||
}
|
||||
|
||||
void test()
|
||||
|
|
Loading…
Reference in New Issue
Block a user