summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-23 16:05:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-23 20:38:14 +0100
commiteaa3f8e160a4ededb685bc38daf7a33b7c7eaf90 (patch)
tree602eab4d694e20ad50a83d279623278158f55b2f
parent5456a01fef615653fa303def6d9c6b1a7f0773cd (diff)
drop unused template
Change-Id: I3668d9b5cff71aae1598f87f09ab82bf66ace71e
-rw-r--r--chart2/source/inc/CommonFunctors.hxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/chart2/source/inc/CommonFunctors.hxx b/chart2/source/inc/CommonFunctors.hxx
index 94e254b9b938..eb94b1dbbf04 100644
--- a/chart2/source/inc/CommonFunctors.hxx
+++ b/chart2/source/inc/CommonFunctors.hxx
@@ -191,16 +191,6 @@ template< class MapType >
::o3tl::select2nd< typename MapType::value_type >()));
}
-/** Functor that deletes the object behind the given pointer by calling the
- delete operator
- */
-template< typename T >
- struct DeletePtr : public ::std::unary_function< T *, void >
-{
- void operator() ( T * pObj )
- { delete pObj; }
-};
-
} // namespace CommonFunctors
} // namespace chart