aboutsummaryrefslogtreecommitdiff
path: root/src/stable
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2014-02-02 21:44:34 +0000
committerMike Buland <eichlan@xagasoft.com>2014-02-02 21:44:34 +0000
commit3769f85c80ffeb403c5310aa4a1e1914f90219a3 (patch)
tree0cd037b90231c46e718f145ffbb803dbb75dd914 /src/stable
parent29153409ed1ca86261f5d1084a0503e3291f3628 (diff)
downloadlibbu++-3769f85c80ffeb403c5310aa4a1e1914f90219a3.tar.gz
libbu++-3769f85c80ffeb403c5310aa4a1e1914f90219a3.tar.bz2
libbu++-3769f85c80ffeb403c5310aa4a1e1914f90219a3.tar.xz
libbu++-3769f85c80ffeb403c5310aa4a1e1914f90219a3.zip
I can make it compile with gcc or LLVM, but not both yet.
Diffstat (limited to 'src/stable')
-rw-r--r--src/stable/string.cpp16
-rw-r--r--src/stable/string.h8
2 files changed, 2 insertions, 22 deletions
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,
173 append( s, e ); 173 append( s, e );
174} 174}
175 175
176Bu::String::String( const Bu::String::iterator &s )
177{
178 append( s );
179}
180
181Bu::String::String( const Bu::String::iterator &s,
182 const Bu::String::iterator &e )
183{
184 append( s, e );
185}
186
187Bu::String::~String() 176Bu::String::~String()
188{ 177{
189} 178}
@@ -328,11 +317,6 @@ void Bu::String::append( const const_iterator &s, const const_iterator &e )
328 } 317 }
329} 318}
330 319
331void Bu::String::append( const iterator &s, const iterator &e )
332{
333 append( const_iterator( s ), const_iterator( e ) );
334}
335
336void Bu::String::prepend( const String & sData ) 320void Bu::String::prepend( const String & sData )
337{ 321{
338 prepend( sData.getStr(), sData.getSize() ); 322 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
561 561
562 public: 562 public:
563 String(); 563 String();
564 String( const const_iterator &s );
565 String( const const_iterator &s, const const_iterator &e );
564 String( const char *pData ); 566 String( const char *pData );
565 String( const char *pData, long nLength ); 567 String( const char *pData, long nLength );
566 String( const String &rSrc ); 568 String( const String &rSrc );
567 String( const String &rSrc, long nLength ); 569 String( const String &rSrc, long nLength );
568 String( const String &rSrc, long nStart, long nLength ); 570 String( const String &rSrc, long nStart, long nLength );
569 String( long nSize ); 571 String( long nSize );
570 String( const const_iterator &s );
571 String( const const_iterator &s, const const_iterator &e );
572 String( const iterator &s );
573 String( const iterator &s, const iterator &e );
574 virtual ~String(); 572 virtual ~String();
575 573
576 /** 574 /**
@@ -648,8 +646,6 @@ namespace Bu
648 */ 646 */
649 void append( const const_iterator &s, const const_iterator &e ); 647 void append( const const_iterator &s, const const_iterator &e );
650 648
651 void append( const iterator &s, const iterator &e );
652
653 /** 649 /**
654 * Prepend another String to this one. 650 * Prepend another String to this one.
655 *@param sData (String &) The String to prepend. 651 *@param sData (String &) The String to prepend.