cocos2d/cocos2d-x — pull request #9596 by minggo (2014-12-23 10:11:39+00:00)
Title: performance improve

Do these things

* use `auto&` instead of `auto` if possible
* correct some coding style
* initialize an object in constructor to remove unneeded assign operation
* remove unneeded temple object