[sword-svn] r1786 - trunk/tests

scribe at crosswire.org scribe at crosswire.org
Sat Apr 30 12:19:33 MST 2005


Author: scribe
Date: 2005-04-30 12:19:33 -0700 (Sat, 30 Apr 2005)
New Revision: 1786

Modified:
   trunk/tests/swbuftest.cpp
Log:


Modified: trunk/tests/swbuftest.cpp
===================================================================
--- trunk/tests/swbuftest.cpp	2005-04-30 19:11:12 UTC (rev 1785)
+++ trunk/tests/swbuftest.cpp	2005-04-30 19:19:33 UTC (rev 1786)
@@ -72,8 +72,9 @@
 	}
 	for (unsigned long i = (BASEI); i; i--) {
 		StringType s2;
-		s2 = s.c_str();
+		s2 = s;
 		s2.c_str();	// keep us from being optimized out
+//		s2[0] = '0';	// keep us from being optimized out
 	}
 	cerr << "\nEND: constructor and assign test -------\n";
 	cerr.flush();



More information about the sword-cvs mailing list