mirror of
https://github.com/ceph/ceph
synced 2025-03-07 08:49:15 +00:00
Merge pull request #1768 from daniel-j-h/code_quality
Variable length array of std::strings (not legal in C++) changed to std::vector<std::string> Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
commit
f31e3ee00a
@ -360,7 +360,7 @@ void RGWLoadGenProcess::run()
|
||||
int num_buckets;
|
||||
conf->get_val("num_buckets", 1, &num_buckets);
|
||||
|
||||
string buckets[num_buckets];
|
||||
vector<string> buckets(num_buckets);
|
||||
|
||||
atomic_t failed;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user