diff options
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 | ||
