From 8e897d19022ad4013efac34c446fcc5035160ede Mon Sep 17 00:00:00 2001 From: folecr Date: Wed, 24 Jul 2013 16:57:15 -0700 Subject: [PATCH] Use getInstance() instead of deprecated sharedFileUtils() --- CocosDenshion/android/ccdandroidUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CocosDenshion/android/ccdandroidUtils.cpp b/CocosDenshion/android/ccdandroidUtils.cpp index 6ef40995f1..edb0bf4540 100644 --- a/CocosDenshion/android/ccdandroidUtils.cpp +++ b/CocosDenshion/android/ccdandroidUtils.cpp @@ -46,7 +46,7 @@ namespace CocosDenshion { std::string getFullPathWithoutAssetsPrefix(const char* pszFilename) { // Changing file path to full path - std::string fullPath = cocos2d::FileUtils::sharedFileUtils()->fullPathForFilename(pszFilename); + std::string fullPath = cocos2d::FileUtils::getInstance()->fullPathForFilename(pszFilename); // Removing `assets` since it isn't needed for the API of playing sound. size_t pos = fullPath.find("assets/"); if (pos == 0)