diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-07-18 07:17:10 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-07-18 07:17:10 +0000 |
| commit | 162525457320b5dba9a4e736759f840757635231 (patch) | |
| tree | b00464b34a924f41622bebef4fa3b72750744bd6 /src/tests | |
| parent | d7ea32daa44c9e0cc4ac00a69168b4e1d182082b (diff) | |
| download | libbu++-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.cpp | 4 |
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() ); |
| 111 | int main( int argc, char *argv ) | 111 | int 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 "); |
