From c435c7daa9df1b08dc85132fcd1c154bea9b69e2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 18:21:03 +0000 Subject: Fixes to use libbu++ Bu::String --- src/astleaf.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/astleaf.h') diff --git a/src/astleaf.h b/src/astleaf.h index cdcb2ae..85293f1 100644 --- a/src/astleaf.h +++ b/src/astleaf.h @@ -2,7 +2,7 @@ #define AST_LEAF_H #include "astnode.h" -#include "bu/fstring.h" +#include "bu/string.h" #include "bu/formatter.h" class AstLeaf : public AstNode @@ -12,19 +12,19 @@ public: AstLeaf( const Location &loc, Type eType, int iNew ); AstLeaf( const Location &loc, Type eType, float fNew ); AstLeaf( const Location &loc, Type eType, bool bNew ); - AstLeaf( const Location &loc, Type eType, const Bu::FString &sNew ); + AstLeaf( const Location &loc, Type eType, const Bu::String &sNew ); AstLeaf( const Location &loc, Type eType, const char *sNew ); virtual ~AstLeaf(); void setIntValue( int iNew ); void setFloatValue( float fNew ); void setBoolValue( bool bNew ); - void setStrValue( const Bu::FString &sNew ); + void setStrValue( const Bu::String &sNew ); int getIntValue() const; float getFloatValue() const; bool getBoolValue() const; - Bu::FString &getStrValue() const; + Bu::String &getStrValue() const; private: union @@ -32,7 +32,7 @@ private: int iVal; float fVal; bool bVal; - Bu::FString *sVal; + Bu::String *sVal; }; }; -- cgit v1.2.3