瀏覽代碼

function fixed

devel
Ludovic 'Archivist' Lagouardette 4 年之前
父節點
當前提交
446fa53eff
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      include/gp/function.hpp

+ 3
- 3
include/gp/function.hpp 查看文件

@ -15,10 +15,10 @@ namespace gp{
};
template<typename fn>
class callable : virtual_callable{
class callable : k">public virtual_callable{
fn internal_representation;
public:
callable(const fn func)
callable(const fn& func)
: internal_representation{func}
{}
@ -100,7 +100,7 @@ namespace gp{
}
else
{
self = new callable<T>(t);
self.functor = new callable<T>(t);
state = (state_t)(ACTIVE | NO_SOO);
}
}

Loading…
取消
儲存