From f5aca1a1b402bd7ebc944dc6e6fe65828d863365 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 02:14:08 +0000 Subject: Bu::FString is now String, and there's a shell script to fix any other programs that were using fstring, I hope. --- src/unit/hash.unit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/unit/hash.unit') diff --git a/src/unit/hash.unit b/src/unit/hash.unit index 124b074..2c1cf6a 100644 --- a/src/unit/hash.unit +++ b/src/unit/hash.unit @@ -6,14 +6,14 @@ * terms of the license contained in the file LICENSE. */ -#include "bu/fstring.h" +#include "bu/string.h" #include "bu/hash.h" #include -typedef Bu::Hash StrIntHash; -typedef Bu::Hash StrStrHash; -typedef Bu::Hash IntStrHash; +typedef Bu::Hash StrIntHash; +typedef Bu::Hash StrStrHash; +typedef Bu::Hash IntStrHash; suite Hash { @@ -24,7 +24,7 @@ suite Hash for(int i=1;i<10000;i++) { sprintf(buf,"%d",i); - Bu::FString sTmp(buf); + Bu::String sTmp(buf); h[sTmp] = i; unitTest( h.has(sTmp) ); } -- cgit v1.2.3