From 3769f85c80ffeb403c5310aa4a1e1914f90219a3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 2 Feb 2014 21:44:34 +0000 Subject: I can make it compile with gcc or LLVM, but not both yet. --- src/stable/string.cpp | 16 ---------------- src/stable/string.h | 8 ++------ 2 files changed, 2 insertions(+), 22 deletions(-) (limited to 'src') diff --git a/src/stable/string.cpp b/src/stable/string.cpp index 1ceaec1..bf3aac0 100644 --- a/src/stable/string.cpp +++ b/src/stable/string.cpp @@ -173,17 +173,6 @@ Bu::String::String( const Bu::String::const_iterator &s, append( s, e ); } -Bu::String::String( const Bu::String::iterator &s ) -{ - append( s ); -} - -Bu::String::String( const Bu::String::iterator &s, - const Bu::String::iterator &e ) -{ - append( s, e ); -} - Bu::String::~String() { } @@ -328,11 +317,6 @@ void Bu::String::append( const const_iterator &s, const const_iterator &e ) } } -void Bu::String::append( const iterator &s, const iterator &e ) -{ - append( const_iterator( s ), const_iterator( e ) ); -} - void Bu::String::prepend( const String & sData ) { prepend( sData.getStr(), sData.getSize() ); diff --git a/src/stable/string.h b/src/stable/string.h index bd1fe6c..420f40c 100644 --- a/src/stable/string.h +++ b/src/stable/string.h @@ -561,16 +561,14 @@ namespace Bu public: String(); + String( const const_iterator &s ); + String( const const_iterator &s, const const_iterator &e ); String( const char *pData ); String( const char *pData, long nLength ); String( const String &rSrc ); String( const String &rSrc, long nLength ); String( const String &rSrc, long nStart, long nLength ); String( long nSize ); - String( const const_iterator &s ); - String( const const_iterator &s, const const_iterator &e ); - String( const iterator &s ); - String( const iterator &s, const iterator &e ); virtual ~String(); /** @@ -648,8 +646,6 @@ namespace Bu */ void append( const const_iterator &s, const const_iterator &e ); - void append( const iterator &s, const iterator &e ); - /** * Prepend another String to this one. *@param sData (String &) The String to prepend. -- cgit v1.2.3