Redefined smart pointer classes in safer way

This commit is contained in:
Tsuda Kageyu
2013-05-18 13:45:44 +09:00
parent 23418c25a4
commit 5ed8d12478
22 changed files with 645 additions and 343 deletions

View File

@ -205,7 +205,7 @@ namespace TagLib
ByteVector render(const String &name, int kind = 0) const;
class AttributePrivate;
TAGLIB_SHARED_PTR<AttributePrivate> d;
RefCountPtr<AttributePrivate> d;
};
}

View File

@ -231,7 +231,7 @@ namespace TagLib
#endif
private:
class PicturePrivate;
TAGLIB_SHARED_PTR<PicturePrivate> d;
RefCountPtr<PicturePrivate> d;
};
}
}