summaryrefslogtreecommitdiff
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
commita5d36ccc70a3cc2b7783736198983f51126d92b1 (patch)
treec463c796b23eac4f38487a5a9976d07c10945b7a
parentc751a9edc5115c5c4c8e8e858d53c4676a904436 (diff)
remove unused PopFront
-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 d531d0ce..d6fc54a9 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 7eb1be85..69c2078f 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())