issue #2790: includes <algorithm> for std::for_each.

This commit is contained in:
James Chen 2013-12-04 10:32:42 +08:00
parent 5c60f66c63
commit 35b96602d3
3 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,7 @@
#include "CCString.h"
#include "CCInteger.h"
#include "platform/CCFileUtils.h"
#include <algorithm> // std::for_each
using namespace std;

View File

@ -27,6 +27,7 @@ THE SOFTWARE.
#include <vector>
#include <unordered_map>
#include <algorithm> // std::for_each
NS_CC_BEGIN

View File

@ -26,7 +26,7 @@ THE SOFTWARE.
#define __CCVECTOR_H__
#include <vector>
#include <algorithm>
#include <algorithm> // std::for_each
#include "ccMacros.h"
NS_CC_BEGIN