Add default constructor to ReaderPtr.

This commit is contained in:
vng 2012-01-03 15:50:40 +03:00 committed by Alex Zolotarev
parent a3224e1110
commit 1070cdcf16

View file

@ -118,7 +118,7 @@ protected:
shared_ptr<ReaderT> m_p;
public:
ReaderPtr(ReaderT * p) : m_p(p) {}
ReaderPtr(ReaderT * p = 0) : m_p(p) {}
uint64_t Size() const
{