cocos2d/cocos2d-x — pull request #952 by NatWeiss (2012-05-31 05:54:19+00:00)
Title: Fix for Xcode error "Reference to 'less' is ambiguous" in CCTouchDispatcher.cpp

This little pull request fixes the Xcode error "Reference to 'less' is ambiguous" in CCTouchDispatcher.cpp. The problem is that CCTouchDispatcher.cpp's static less() function is declared outside the cocos2d namespace, so it is ambiguous versus the std::less() function. Moving it into the cocos2d namespace and explicitly referencing it fixes the error.