declare explicitly FileUtilsApple destructor

This commit is contained in:
Naruto TAKAHASHI 2016-05-09 21:08:56 +09:00
parent fc9880ab49
commit 79b9a191d0
2 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,7 @@ class CC_DLL FileUtilsApple : public FileUtils
{
public:
FileUtilsApple();
virtual ~FileUtilsApple();
/* override functions */
virtual std::string getWritablePath() const override;
virtual std::string getFullPathForDirectoryAndFilename(const std::string& directory, const std::string& filename) const override;

View File

@ -320,6 +320,8 @@ static void addObjectToNSDict(const std::string& key, const Value& value, NSMuta
FileUtilsApple::FileUtilsApple() : pimpl_(new IMPL([NSBundle mainBundle])) {
}
FileUtilsApple::~FileUtilsApple() = default;
#if CC_FILEUTILS_APPLE_ENABLE_OBJC
void FileUtilsApple::setBundle(NSBundle* bundle) {
pimpl_->setBundle(bundle);