Revision: 56610
http://sourceforge.net/p/brlcad/code/56610
Author: starseeker
Date: 2013-08-06 01:22:37 +0000 (Tue, 06 Aug 2013)
Log Message:
-----------
C++ comparison operators are supposed to satisfy the strict weak ordering
property, and MSVC seems to think this function doesn't. This might be one
reason - return false if the lengths end up being equal.
Modified Paths:
--------------
brlcad/trunk/src/other/libgdiam/gdiam.cpp
Modified: brlcad/trunk/src/other/libgdiam/gdiam.cpp
===================================================================
--- brlcad/trunk/src/other/libgdiam/gdiam.cpp 2013-08-05 22:54:29 UTC (rev
56609)
+++ brlcad/trunk/src/other/libgdiam/gdiam.cpp 2013-08-06 01:22:37 UTC (rev
56610)
@@ -1445,6 +1445,9 @@
len1 = base.dist( *a );
len2 = base.dist( *b );
+ if (len1 == len2)
+ return false;
+
return (len1 > len2);
}
};
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits