Commit 068c1c46 authored by nanahira's avatar nanahira

fix

parent c4533935
Pipeline #18620 passed with stages
in 2 minutes and 16 seconds
...@@ -71,8 +71,8 @@ public: ...@@ -71,8 +71,8 @@ public:
template <typename T> template <typename T>
std::vector<T> DuplicateVector(std::vector<T> vector, int32 count) { std::vector<T> DuplicateVector(std::vector<T> vector, int32 count) {
std::vector<T> result; std::vector<T> result;
for(int32 i = 0; i < count; ++i)
for(auto it : vector) for(auto it : vector)
for(int32 i = 0; i < count; ++i)
result.push_back(it); result.push_back(it);
return result; return result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment