浏览代码

* Fixed type error in getter

master
bergmann 4 年前
父节点
当前提交
d89eccd0de
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      include/cppmp/misc/getter.inl

+ 2
- 2
include/cppmp/misc/getter.inl 查看文件

@@ -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;



正在加载...
取消
保存