aboutsummaryrefslogtreecommitdiff
path: root/src/tests/fstring.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-07-18 07:17:10 +0000
committerMike Buland <eichlan@xagasoft.com>2007-07-18 07:17:10 +0000
commit162525457320b5dba9a4e736759f840757635231 (patch)
treeb00464b34a924f41622bebef4fa3b72750744bd6 /src/tests/fstring.cpp
parentd7ea32daa44c9e0cc4ac00a69168b4e1d182082b (diff)
downloadlibbu++-162525457320b5dba9a4e736759f840757635231.tar.gz
libbu++-162525457320b5dba9a4e736759f840757635231.tar.bz2
libbu++-162525457320b5dba9a4e736759f840757635231.tar.xz
libbu++-162525457320b5dba9a4e736759f840757635231.zip
Incorporated a patch contributed by Brandon CS Sanders that allows libbu++ to
compile under OSX. So far, no problems with anything else, it looks like build and nango both build without problems, libbu++ is truly becoming a full cross- platform toolkit.
Diffstat (limited to '')
-rw-r--r--src/tests/fstring.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/fstring.cpp b/src/tests/fstring.cpp
index 48dfc5f..11f147d 100644
--- a/src/tests/fstring.cpp
+++ b/src/tests/fstring.cpp
@@ -110,6 +110,10 @@ void doTimings()
110#define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.c_str(), str.c_str(), (unsigned int)str2.c_str(), str2.c_str() ); 110#define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.c_str(), str.c_str(), (unsigned int)str2.c_str(), str2.c_str() );
111int main( int argc, char *argv ) 111int main( int argc, char *argv )
112{ 112{
113 Bu::FString fs1;
114 for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26));
115 return 0;
116
113 Bu::FString str("th"); 117 Bu::FString str("th");
114 118
115 str.prepend("Hello "); 119 str.prepend("Hello ");