Fix typographical error (variable name) in example for C.30.

pull/495/head
Jeremy Voorhis 10 years ago
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…
Cancel
Save