Projects > cpp > Issues > Refactor #3495

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Data class refactor and Deprecates FileUtils::getFileData

Refactor #3495 [Closed]
dumganhar 2013-12-24 08:35 . Updated over 10 years ago

Fixed at https://github.com/cocos2d/cocos2d-x/pull/4529

1) Data class should not inherited from Object
2) Data could be used on stack.
3) Deprecates FileUtils::getFileData, adds FileUtils::getStringFromFile/getDataFromFile to avoid potential memory issues.

dumganhar 2013-12-24 09:47
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:6bdc64063556f002d3d21ba4471ee1b459352498.

Atom PDF

Status:Closed
Start date:2013-12-24
Priority:Normal
Due date:
Assignee:dumganhar
% Done:

100%

Category:all
Target version:3.0-beta