Revision: 49069 http://brlcad.svn.sourceforge.net/brlcad/?rev=49069&view=rev Author: brlcad Date: 2012-01-25 17:10:32 +0000 (Wed, 25 Jan 2012) Log Message: ----------- more warning quellage. shouldn't pass string constants to char* parameters as they should be considered immutable/const. make SelectTypeDescriptor() constructor take a const char* instead, fortunately TypeDescriptor's constructor is correct.
Modified Paths: -------------- brlcad/trunk/src/other/step/src/clstepcore/ExpDict.h Modified: brlcad/trunk/src/other/step/src/clstepcore/ExpDict.h =================================================================== --- brlcad/trunk/src/other/step/src/clstepcore/ExpDict.h 2012-01-25 17:08:27 UTC (rev 49068) +++ brlcad/trunk/src/other/step/src/clstepcore/ExpDict.h 2012-01-25 17:10:32 UTC (rev 49069) @@ -1622,7 +1622,7 @@ SelectTypeDescriptor (int b, const char * nm, PrimitiveType ft, Schema *origSchema, - char * d, SelectCreator f =0 ) + const char * d, SelectCreator f =0 ) : TypeDescriptor (nm, ft, origSchema, d), _unique_elements (b), CreateNewSelect(f) { } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits