diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:09:04 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:09:04 +0000 |
commit | 393f1b414746a7f1977971dd7659dd2b47092b11 (patch) | |
tree | 81d0ca1ee70ab86a7d79c1991abe5c387b655fb2 /src/tests/speed.cpp | |
parent | c259f95bd0e58b247940a339bb9b4b401b4e9438 (diff) | |
parent | 7e25a863325dc3e9762397e700030969e093b087 (diff) | |
download | libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.gz libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.bz2 libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.xz libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.zip |
Wow! Merged the branch, streams are updated, and there's no more FString, run
the fixstrings.sh script in the support directory to (hopefully) automatically
update your projects.
Diffstat (limited to 'src/tests/speed.cpp')
-rw-r--r-- | src/tests/speed.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/speed.cpp b/src/tests/speed.cpp index c6770de..2fa29aa 100644 --- a/src/tests/speed.cpp +++ b/src/tests/speed.cpp | |||
@@ -1,11 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2007-2010 Xagasoft, All rights reserved. | 2 | * Copyright (C) 2007-2011 Xagasoft, All rights reserved. |
3 | * | 3 | * |
4 | * This file is part of the libbu++ library and is released under the | 4 | * This file is part of the libbu++ library and is released under the |
5 | * terms of the license contained in the file LICENSE. | 5 | * terms of the license contained in the file LICENSE. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include "bu/fstring.h" | 8 | #include "bu/string.h" |
9 | #include <sys/time.h> | 9 | #include <sys/time.h> |
10 | 10 | ||
11 | template<typename a> | 11 | template<typename a> |
@@ -50,9 +50,9 @@ void fullTest( tst t ) | |||
50 | 50 | ||
51 | int main() | 51 | int main() |
52 | { | 52 | { |
53 | Bu::FString str; | 53 | Bu::String str; |
54 | for( int j = 0; j < 500; j++ ) | 54 | for( int j = 0; j < 500; j++ ) |
55 | str.append("Hey, this is a test string. It will be reapeated many, many times. How's that?"); | 55 | str.append("Hey, this is a test string. It will be reapeated many, many times. How's that?"); |
56 | fullTest( tstCopy<Bu::FString>( str ) ); | 56 | fullTest( tstCopy<Bu::String>( str ) ); |
57 | } | 57 | } |
58 | 58 | ||