Yepessin / slb

Automatically exported from code.google.com/p/slb
0 stars 0 forks source link

Wrong function called in __Self &__eq( bool (*func)(T1,T2) ) in Class.hpp #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently it looks like this:
    template<class T1, class T2>
    __Self &__eq( bool (*func)(T1,T2) )
    {
      _class->setObject__newindex( FuncCall::create(func) ); return *this;
    }

Should instead be:
    template<class T1, class T2>
    __Self &__eq( bool (*func)(T1,T2) )
    {
       _class->set__eq( SLB_FuncCall::create(func) ); return *this;
    }

Original issue reported on code.google.com by johan.p....@hotmail.com on 1 Feb 2013 at 10:48

GoogleCodeExporter commented 8 years ago
Ok, thanks for the report. 

Original comment by joseLuis...@gmail.com on 7 Feb 2013 at 11:03