Pārlūkot izejas kodu

function fixed

devel
Ludovic 'Archivist' Lagouardette pirms 4 gadiem
vecāks
revīzija
446fa53eff
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      include/gp/function.hpp

+ 3
- 3
include/gp/function.hpp Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt