mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
unify stl (#10402)
* add ccstd::vector * replace cc::vector with ccstd::vector * replace std::vector with ccstd::vector * do not include <vector>
This commit is contained in:
@@ -230,7 +230,7 @@ void FrameGraph::cull() {
|
||||
}
|
||||
}
|
||||
|
||||
static std::vector<const ResourceNode *> stack;
|
||||
static ccstd::vector<const ResourceNode *> stack;
|
||||
stack.clear();
|
||||
stack.reserve(_resourceNodes.size());
|
||||
|
||||
@@ -439,7 +439,7 @@ void FrameGraph::generateDevicePasses() {
|
||||
|
||||
ID passId = 1;
|
||||
|
||||
static std::vector<PassNode *> subpassNodes;
|
||||
static ccstd::vector<PassNode *> subpassNodes;
|
||||
subpassNodes.clear();
|
||||
|
||||
for (const auto &passNode : _passNodes) {
|
||||
|
||||
Reference in New Issue
Block a user