From ed92be2fa5a44ce0543b2cb13d183c96a99c7f73 Mon Sep 17 00:00:00 2001 From: RicoAntonioFelix Date: Thu, 1 Oct 2015 08:34:10 -0400 Subject: [PATCH] Changed argument name in finally --- include/final_action.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/final_action.h b/include/final_action.h index ecbf3f3..9857c41 100644 --- a/include/final_action.h +++ b/include/final_action.h @@ -61,10 +61,10 @@ private: // This is convenience function to generate a final_action // template -final_action finally(const F& act) noexcept { return final_action(act); } +final_action finally(const F& f) noexcept { return final_action(f); } template -final_action finally(F&& act) noexcept { return final_action(std::forward(act)); } +final_action finally(F&& f) noexcept { return final_action(std::forward(f)); } } // close namespace gsl