diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
commit | f5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch) | |
tree | 4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/bitstring.cpp | |
parent | 10c557562e1d67c55314c212371ea9cb7f802863 (diff) | |
download | libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.gz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.bz2 libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.xz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.zip |
Bu::FString is now String, and there's a shell script to fix any other programs
that were using fstring, I hope.
Diffstat (limited to 'src/bitstring.cpp')
-rw-r--r-- | src/bitstring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bitstring.cpp b/src/bitstring.cpp index 207a036..39c2e63 100644 --- a/src/bitstring.cpp +++ b/src/bitstring.cpp | |||
@@ -444,9 +444,9 @@ long Bu::BitString::getHighestOrderBitPos() | |||
444 | return -1; | 444 | return -1; |
445 | } | 445 | } |
446 | 446 | ||
447 | Bu::FString Bu::BitString::toString() | 447 | Bu::String Bu::BitString::toString() |
448 | { | 448 | { |
449 | Bu::FString sRet; | 449 | Bu::String sRet; |
450 | for( int j = iBits-1; j >= 0; j-- ) | 450 | for( int j = iBits-1; j >= 0; j-- ) |
451 | sRet.append( getBit( j )?'1':'0' ); | 451 | sRet.append( getBit( j )?'1':'0' ); |
452 | return sRet; | 452 | return sRet; |