This commit is contained in:
yhirose 2015-12-31 19:44:02 -05:00
commit 9ce4597ef6

View File

@ -193,7 +193,7 @@ private:
};
template <typename EF>
auto make_scope_exit(EF&& exit_function) {
auto make_scope_exit(EF&& exit_function) -> scope_exit<EF> {
return scope_exit<std::remove_reference_t<EF>>(std::forward<EF>(exit_function));
}