Game Development Community

Minor C++ conformance bug in t2dVector.h

by Jason Cahill · in Torque Game Builder · 11/25/2005 (11:08 am) · 1 replies

I'm building with VS 2005 I hit the following on line 99:

inline swap( t2dVector& v) { mSwap( v.mX, mX ); mSwap( v.mY, mY ); };

I believe you mean:

inline [b]void[/b] swap( t2dVector& v) { mSwap( v.mX, mX ); mSwap( v.mY, mY ); };

Melv: I'm not trying to nit-pick... just reporting issues. I take it you don't run VS 2005? Need a copy? "Gift" copies will be available to us soon (and I don't mean of the Express version). Just let me know.

#1
11/25/2005 (11:24 am)
Any problem reported is good; it's never nit-picking. I'm not the kind of guy to think I don't make whopper mistakes now and again. ;)

Regardless, this one has been reported here.

- Melv.