diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 14:18:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 14:18:34 +0100 |
commit | 319f7e2524cc40d380c9dc6b449dde1115335789 (patch) | |
tree | 98d42ba9b668fa80e601859be564e8d3b3c8cc38 | |
parent | 63b9ad1c6142c7f1b34a180a0bac021d2a403927 (diff) |
remove unused token_count
-rw-r--r-- | cosv/inc/cosv/streamstr.hxx | 2 | ||||
-rw-r--r-- | cosv/source/strings/streamstr.cxx | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/cosv/inc/cosv/streamstr.hxx b/cosv/inc/cosv/streamstr.hxx index b5c62d00..fabcd11d 100644 --- a/cosv/inc/cosv/streamstr.hxx +++ b/cosv/inc/cosv/streamstr.hxx @@ -256,8 +256,6 @@ class StreamStr : public bostream const_iterator cur() const; const_iterator end() const; - size_type token_count( - char i_cSplit ) const; String token( position_type i_nNr, /// Starting with 0. char i_cSpli ) const; diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx index 4d494882..b2400fa3 100644 --- a/cosv/source/strings/streamstr.cxx +++ b/cosv/source/strings/streamstr.cxx @@ -699,13 +699,6 @@ StreamStr::to_upper( position_type i_nStart, return *this; } - -StreamStr::size_type -StreamStr::token_count( char i_cSplit ) const -{ - return count_chars(dpData, i_cSplit) + 1; -} - String StreamStr::token( position_type i_nNr, char i_cSplit ) const |