Skip to content

Commit

Permalink
Merge pull request #4583 from SUSE/wip-11542-firefly
Browse files Browse the repository at this point in the history
rgw: Change variable length array of std::strings (not legal in C++) to std::vector<std::string>

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
smithfarm committed Jul 25, 2015
2 parents 5df7273 + 9614e4d commit abe6c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_main.cc
Expand Up @@ -371,7 +371,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;

Expand Down

0 comments on commit abe6c03

Please sign in to comment.