From c751a9edc5115c5c4c8e8e858d53c4676a904436 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 20 Jun 2011 14:41:18 +0100 Subject: remove unused PushFront --- cosv/inc/cosv/dirchain.hxx | 5 ----- cosv/source/storage/dirchain.cxx | 12 ------------ 2 files changed, 17 deletions(-) diff --git a/cosv/inc/cosv/dirchain.hxx b/cosv/inc/cosv/dirchain.hxx index d4954975..d531d0ce 100644 --- a/cosv/inc/cosv/dirchain.hxx +++ b/cosv/inc/cosv/dirchain.hxx @@ -80,11 +80,6 @@ class DirectoryChain const char * i_sPath, bool i_bPathIsAlwaysDir = false, const char * i_sDelimiter = Delimiter() ); - void PushFront( - const String & i_sName ); - void PushFront( - const DirectoryChain & - i_sPath ); void PushBack( const String & i_sName ); void PushBack( diff --git a/cosv/source/storage/dirchain.cxx b/cosv/source/storage/dirchain.cxx index 52683c25..7eb1be85 100644 --- a/cosv/source/storage/dirchain.cxx +++ b/cosv/source/storage/dirchain.cxx @@ -80,18 +80,6 @@ DirectoryChain::Set( const char * i_sSubPath, aPath.push_back( String(pRestPath) ); } -void -DirectoryChain::PushFront( const String & i_sName ) -{ - aPath.insert( aPath.begin(), i_sName ); -} - -void -DirectoryChain::PushFront( const DirectoryChain & i_sPath ) -{ - aPath.insert( aPath.begin(), i_sPath.Begin(), i_sPath.End() ); -} - void DirectoryChain::PushBack( const String & i_sName ) { -- cgit v1.2.3