Parcourir la source

* Fixed type error in getter

master
bergmann il y a 4 ans
Parent
révision
d89eccd0de
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      include/cppmp/misc/getter.inl

+ 2
- 2
include/cppmp/misc/getter.inl Voir le fichier

@@ -142,8 +142,8 @@ namespace cppmp
{ {
using lambda_type = T_lambda; using lambda_type = T_lambda;
using lambda_traits_type = lambda_traits<lambda_type>; using lambda_traits_type = lambda_traits<lambda_type>;
using object_type = typename lambda_traits_type::template argument_t<0>;
using value_type = typename lambda_traits_type::return_type;
using object_type = decay_t<typename lambda_traits_type::template argument_t<0>>;
using value_type = decay_t<typename lambda_traits_type::return_type>;


lambda_type lambda; lambda_type lambda;




Chargement…
Annuler
Enregistrer