Sfoglia il codice sorgente

* Fixed type error in getter

master
bergmann 4 anni fa
parent
commit
d89eccd0de
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      include/cppmp/misc/getter.inl

+ 2
- 2
include/cppmp/misc/getter.inl Vedi File

@@ -142,8 +142,8 @@ namespace cppmp
{
using lambda_type = T_lambda;
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;



Caricamento…
Annulla
Salva