Revision: 44764
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44764&view=rev
Author:   brlcad
Date:     2011-06-06 21:41:20 +0000 (Mon, 06 Jun 2011)

Log Message:
-----------
twas different code, don't convert to c string only to convert back to 
std::string

Modified Paths:
--------------
    geomcore/trunk/tests/unit/utility/StringUtilsUTest.cxx

Modified: geomcore/trunk/tests/unit/utility/StringUtilsUTest.cxx
===================================================================
--- geomcore/trunk/tests/unit/utility/StringUtilsUTest.cxx      2011-06-06 
21:39:42 UTC (rev 44763)
+++ geomcore/trunk/tests/unit/utility/StringUtilsUTest.cxx      2011-06-06 
21:41:20 UTC (rev 44764)
@@ -60,13 +60,13 @@
   {
     std::string name;
 
-    name =  StringUtils::basename(testPath01.c_str());
+    name =  StringUtils::basename(testPath01);
     CPPUNIT_ASSERT(name == "duder");
-    name =  StringUtils::basename(testPath02.c_str());
+    name =  StringUtils::basename(testPath02);
     CPPUNIT_ASSERT(name == "duder");
-    name =  StringUtils::basename(testPath03.c_str());
+    name =  StringUtils::basename(testPath03);
     CPPUNIT_ASSERT(name == "duder");
-    name =  StringUtils::basename(testPath04.c_str());
+    name =  StringUtils::basename(testPath04);
     CPPUNIT_ASSERT(name == "duder");
   }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to