Revision: 52608
http://brlcad.svn.sourceforge.net/brlcad/?rev=52608&view=rev
Author: brlcad
Date: 2012-10-01 16:15:29 +0000 (Mon, 01 Oct 2012)
Log Message:
-----------
turns out, c++ doesn't define the SIZE_MAX c99 constant. instead of adding a
(size_t)-1 define manually, do it the c++y-way. use numeric_limits.
Modified Paths:
--------------
brlcad/trunk/src/other/step/src/cldai/sdaiString.h
Modified: brlcad/trunk/src/other/step/src/cldai/sdaiString.h
===================================================================
--- brlcad/trunk/src/other/step/src/cldai/sdaiString.h 2012-10-01 15:33:30 UTC
(rev 52607)
+++ brlcad/trunk/src/other/step/src/cldai/sdaiString.h 2012-10-01 16:15:29 UTC
(rev 52608)
@@ -12,7 +12,7 @@
*/
#include <scl_export.h>
-#include <stdint.h>
+#include <limits>
class SCL_DAI_EXPORT SDAI_String {
@@ -21,7 +21,7 @@
public:
//constructor(s) & destructor
- SDAI_String( const char * str = 0, size_t max = SIZE_MAX );
+ SDAI_String( const char * str = 0, size_t max =
std::numeric_limits<std::size_t>::max() );
SDAI_String( const std::string & s );
SDAI_String( const SDAI_String & s );
~SDAI_String( void );
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits