mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix typographical error (variable name) in example for C.30.
This commit is contained in:
parent
935a5ee325
commit
dd683abae7
@ -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…
x
Reference in New Issue
Block a user