diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 14:25:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 14:25:08 +0100 |
commit | 77faf36fbd79edfe360e2b9e5393b3d979a4e0d3 (patch) | |
tree | 5871d7e09f312ce0fe0fbec72315a0c2586abda2 /cosv/source/strings/streamstr.cxx | |
parent | abe204dce71f0f774d1a13e34dc68b39c04a80d2 (diff) |
remove unused strip_ methods
Diffstat (limited to 'cosv/source/strings/streamstr.cxx')
-rw-r--r-- | cosv/source/strings/streamstr.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx index fff564f6fff6..c1a0d62a0786 100644 --- a/cosv/source/strings/streamstr.cxx +++ b/cosv/source/strings/streamstr.cxx @@ -561,26 +561,6 @@ StreamStr::operator_read_line( bstream & i_src ) } void -StreamStr::strip_front(char i_cToRemove) -{ - const_iterator it = begin(); - for ( ; - it != end() ? *it == i_cToRemove : false; - ++it ) ; - pop_front(it - begin()); -} - -void -StreamStr::strip_back(char i_cToRemove) -{ - const_iterator it = end(); - for ( ; - it != begin() ? *(it-1) == i_cToRemove : false; - --it ) ; - pop_back(end() - it); -} - -void StreamStr::strip_front_whitespace() { const_iterator it = begin(); |