Explorar el Código

tuple: fixed typo

skypjack hace 2 meses
padre
commit
4a2213ef4e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/entt/core/tuple.hpp

+ 1 - 1
src/entt/core/tuple.hpp

@@ -83,7 +83,7 @@ struct forward_apply: private Func {
  * @tparam Func Type of underlying invocable object.
  */
 template<typename Func>
-forward_apply(Func) -> forward_apply<std::remove_reference_t<std::remove_const_t<Func>>>;
+forward_apply(Func) -> forward_apply<std::remove_cvref_t<Func>>;
 
 } // namespace entt