mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 01:12:42 +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:
@@ -45,7 +45,7 @@ void DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) {
|
||||
|
||||
if (bindingCount) {
|
||||
uint32_t maxBinding = 0U;
|
||||
vector<uint32_t> flattenedIndices(bindingCount);
|
||||
ccstd::vector<uint32_t> flattenedIndices(bindingCount);
|
||||
for (uint32_t i = 0U; i < bindingCount; i++) {
|
||||
const DescriptorSetLayoutBinding &binding = _bindings[i];
|
||||
if (binding.binding > maxBinding) maxBinding = binding.binding;
|
||||
|
||||
Reference in New Issue
Block a user