diff --git a/include/gsl/util b/include/gsl/util index 4d2f5cf..8d3f381 100644 --- a/include/gsl/util +++ b/include/gsl/util @@ -74,7 +74,7 @@ private: template GSL_NODISCARD auto finally(F&& f) noexcept { - return final_action>{std::forward(f)}; + return final_action>>{std::forward(f)}; } // narrow_cast(): a searchable way to do narrowing casts of values