Browse Source

* Fixed type error in getter

master
bergmann 4 years ago
parent
commit
d89eccd0de
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/cppmp/misc/getter.inl

+ 2
- 2
include/cppmp/misc/getter.inl View 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;



Loading…
Cancel
Save