aboutsummaryrefslogtreecommitdiff
path: root/src/tests/fstring.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-04-28 23:01:03 +0000
committerMike Buland <eichlan@xagasoft.com>2008-04-28 23:01:03 +0000
commit2a49987a29270e14b5a9396b0ab3b7b4588770c3 (patch)
treeedb5cb767632323ef288451f38d669e0b2feba4e /src/tests/fstring.cpp
parentd416848a9c212bf0503ec5b9de4cd23449ecd73c (diff)
downloadlibbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.gz
libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.bz2
libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.tar.xz
libbu++-2a49987a29270e14b5a9396b0ab3b7b4588770c3.zip
Apparently there were a number of things that weren't strict ISO C++, the new
version of gcc complained about them, none of these changes will break backward compatibility, so I fixed them. I added more docs too, it seems.
Diffstat (limited to '')
-rw-r--r--src/tests/fstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/fstring.cpp b/src/tests/fstring.cpp
index f4dfc52..43de18f 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%08X: %s\n%08X: %s\n", (unsigned int)str.getStr(), str.getStr(), (unsigned int)str2.getStr(), str2.getStr() ); 118#define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.getStr(), str.getStr(), (unsigned int)str2.getStr(), str2.getStr() );
119int main( int argc, char *argv ) 119int main( int argc, char *argv[] )
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));