Changed argument name in finally

This commit is contained in:
RicoAntonioFelix 2015-10-01 08:34:10 -04:00
parent f421933264
commit ed92be2fa5

View File

@ -61,10 +61,10 @@ private:
// This is convenience function to generate a final_action // This is convenience function to generate a final_action
// //
template <class F> template <class F>
final_action<F> finally(const F& act) noexcept { return final_action<F>(act); } final_action<F> finally(const F& f) noexcept { return final_action<F>(f); }
template <class F> template <class F>
final_action<F> finally(F&& act) noexcept { return final_action<F>(std::forward<F>(act)); } final_action<F> finally(F&& f) noexcept { return final_action<F>(std::forward<F>(f)); }
} // close namespace gsl } // close namespace gsl