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:
Sage Weil 2014-05-06 07:12:00 -07:00
commit f31e3ee00a

View File

@ -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;