From c9f75009a5aebea315a544f19c37ead617a5dd62 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 16 May 2003 00:02:31 +0000 Subject: misc optimizations --- smartptr.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'smartptr.h') diff --git a/smartptr.h b/smartptr.h index 00dab210..c4f95753 100644 --- a/smartptr.h +++ b/smartptr.h @@ -6,6 +6,14 @@ NAMESPACE_BEGIN(CryptoPP) +template class simple_ptr +{ +public: + simple_ptr() : m_p(NULL) {} + ~simple_ptr() {delete m_p;} + T *m_p; +}; + template class member_ptr { public: -- cgit v1.2.1