From e259478fb33e901379e2c42a1b9e6cc6d595db05 Mon Sep 17 00:00:00 2001 From: Nestal Wan Date: Sat, 9 Jun 2012 14:23:39 +0800 Subject: [PATCH] removed redundant function --- libgrive/src/drive/Resource.cc | 5 ----- libgrive/src/drive/Resource.hh | 1 - 2 files changed, 6 deletions(-) diff --git a/libgrive/src/drive/Resource.cc b/libgrive/src/drive/Resource.cc index acd09e7..2a36d2c 100644 --- a/libgrive/src/drive/Resource.cc +++ b/libgrive/src/drive/Resource.cc @@ -249,11 +249,6 @@ Resource* Resource::Parent() return m_parent ; } -std::string Resource::ParentHref() const -{ - return m_entry.ParentHref() ; -} - void Resource::AddChild( Resource *child ) { assert( child != 0 ) ; diff --git a/libgrive/src/drive/Resource.hh b/libgrive/src/drive/Resource.hh index 968b6f5..91a0d01 100644 --- a/libgrive/src/drive/Resource.hh +++ b/libgrive/src/drive/Resource.hh @@ -62,7 +62,6 @@ public : std::string Name() const ; std::string SelfHref() const ; std::string ResourceID() const ; - std::string ParentHref() const ; const Resource* Parent() const ; Resource* Parent() ;