Browse Source

function fixed

devel
Ludovic 'Archivist' Lagouardette 4 years ago
parent
commit
446fa53eff
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      include/gp/function.hpp

+ 3
- 3
include/gp/function.hpp View File

@ -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…
Cancel
Save