mirror of https://github.com/axmolengine/axmol.git
issue #2790: includes <algorithm> for std::for_each.
This commit is contained in:
parent
5c60f66c63
commit
35b96602d3
|
@ -26,6 +26,7 @@
|
||||||
#include "CCString.h"
|
#include "CCString.h"
|
||||||
#include "CCInteger.h"
|
#include "CCInteger.h"
|
||||||
#include "platform/CCFileUtils.h"
|
#include "platform/CCFileUtils.h"
|
||||||
|
#include <algorithm> // std::for_each
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ THE SOFTWARE.
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
#include <algorithm> // std::for_each
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ THE SOFTWARE.
|
||||||
#define __CCVECTOR_H__
|
#define __CCVECTOR_H__
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm> // std::for_each
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
Loading…
Reference in New Issue