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:
Gabriel Dos Reis
2016-01-10 21:11:34 -08:00

View File

@@ -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()