Bug in object::operator!=() ???

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in object::operator!=() ???

webmaster@frank-wolf.org

Hi *

 

I just new to luabind; so maybe it's not a bug but I think there's a bug

in the inequality operator of luabind::object.

 

I think file object.hpp, line 260 should be like this:


return !(lhs == rhs);

 

 

 

Frank

 


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user
Reply | Threaded
Open this post in threaded view
|

Re: Bug in object::operator!=() ???

Daniel Wallin
On Tue, Feb 23, 2010 at 02:20:57PM +0100, [hidden email] wrote:
> Hi *
>  
> I just new to luabind; so maybe it's not a bug but I think there's a bug
> in the inequality operator of luabind::object.
>  
> I think file object.hpp, line 260 should be like this:
>
> return !(lhs == rhs);

Yes, indeed. I'm amazed this hasn't turned up before. Commited in:

  http://github.com/luabind/luabind/commit/c6aff3a8

Thank you,
--
Daniel Wallin
BoostPro Computing
http://www.boostpro.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user