aboutsummaryrefslogtreecommitdiff
path: root/src/tests/fstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/fstring.cpp')
-rw-r--r--src/tests/fstring.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/fstring.cpp b/src/tests/fstring.cpp
index 6288ccb..b392eb7 100644
--- a/src/tests/fstring.cpp
+++ b/src/tests/fstring.cpp
@@ -116,7 +116,7 @@ void doTimings()
116} 116}
117 117
118#define pem printf("---------\n%08tX: %s\n%08tX: %s\n", (ptrdiff_t)str.getStr(), str.getStr(), (ptrdiff_t)str2.getStr(), str2.getStr() ); 118#define pem printf("---------\n%08tX: %s\n%08tX: %s\n", (ptrdiff_t)str.getStr(), str.getStr(), (ptrdiff_t)str2.getStr(), str2.getStr() );
119int main( int argc, char *argv[] ) 119int main( )
120{ 120{
121 Bu::FString fs1; 121 Bu::FString fs1;
122 for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26)); 122 for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26));
@@ -148,5 +148,7 @@ int main( int argc, char *argv[] )
148 printf("%d == %d\n", Bu::__calcHashCode( str ), Bu::__calcHashCode( str.getStr() ) ); 148 printf("%d == %d\n", Bu::__calcHashCode( str ), Bu::__calcHashCode( str.getStr() ) );
149 149
150 doTimings(); 150 doTimings();
151
152 return 0;
151} 153}
152 154