mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Fix typographical error (variable name) in example for C.30.
This commit is contained in:
@@ -3545,7 +3545,7 @@ Only define a non-default destructor if a class needs to execute code that is no
|
|||||||
template<typename A>
|
template<typename A>
|
||||||
final_action<A> finally(A act) // deduce action type
|
final_action<A> finally(A act) // deduce action type
|
||||||
{
|
{
|
||||||
return final_action<A>{a};
|
return final_action<A>{act};
|
||||||
}
|
}
|
||||||
|
|
||||||
void test()
|
void test()
|
||||||
|
|||||||
Reference in New Issue
Block a user