summaryrefslogtreecommitdiff
path: root/cosv
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-20 14:42:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 14:42:50 +0100
commit1d301de7a8a3077bcdbd7e761998cd24563f5a70 (patch)
tree138310c10c2afc4f4231a9bd868a17433b3cf4c4 /cosv
parent5c8c13887952c112566c4145173a93d7d39c2dd6 (diff)
remove unused PopFront
Diffstat (limited to 'cosv')
-rw-r--r--cosv/inc/cosv/dirchain.hxx2
-rw-r--r--cosv/source/storage/dirchain.cxx9
2 files changed, 0 insertions, 11 deletions
diff --git a/cosv/inc/cosv/dirchain.hxx b/cosv/inc/cosv/dirchain.hxx
index e76e4945fd6e..c36c574cdf5a 100644
--- a/cosv/inc/cosv/dirchain.hxx
+++ b/cosv/inc/cosv/dirchain.hxx
@@ -85,8 +85,6 @@ class DirectoryChain
void PushBack(
const DirectoryChain &
i_sPath );
- void PopFront(
- uintt i_nCount = 1 );
void PopBack(
uintt i_nCount = 1 );
diff --git a/cosv/source/storage/dirchain.cxx b/cosv/source/storage/dirchain.cxx
index 21b0f66ab7ee..22697688442d 100644
--- a/cosv/source/storage/dirchain.cxx
+++ b/cosv/source/storage/dirchain.cxx
@@ -93,15 +93,6 @@ DirectoryChain::PushBack( const DirectoryChain & i_sPath )
}
void
-DirectoryChain::PopFront( uintt i_nCount )
-{
- if (i_nCount <= aPath.size())
- aPath.erase( aPath.begin(), aPath.begin() + i_nCount );
- else
- aPath.erase( aPath.begin(), aPath.end() );
-}
-
-void
DirectoryChain::PopBack( uintt i_nCount )
{
if (i_nCount <= aPath.size())