From eaa3f8e160a4ededb685bc38daf7a33b7c7eaf90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 23 May 2014 16:05:37 +0100 Subject: [PATCH] drop unused template Change-Id: I3668d9b5cff71aae1598f87f09ab82bf66ace71e --- chart2/source/inc/CommonFunctors.hxx | 10 ---------- 1 file changed, 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