From 366a8063730aa7ae696bcb9cf56eafd13d43dfc0 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 8 Feb 2009 00:44:10 +0000 Subject: So many updates. I recommend using the new FString iterators instead of direct indexing. It is now many times faster, and requires less overhead. Also, more stuff iterator related in every class. More on that later. --- src/unitsuite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unitsuite.cpp') diff --git a/src/unitsuite.cpp b/src/unitsuite.cpp index 7421496..cdd6a2a 100644 --- a/src/unitsuite.cpp +++ b/src/unitsuite.cpp @@ -110,7 +110,7 @@ void Bu::UnitSuite::add( Test fTest, const Bu::FString &sName, Expect e ) TestInfo ti; ti.sName = sName; ti.eExpect = e; - long index = ti.sName.rfind("::"); + long index = ti.sName.rfindIdx("::"); if( index != -1 ) { FString tmp = sSuiteName; -- cgit v1.2.3