mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
tests: perf_fast_forward: massage result of sprint() into std::string
sprint() returns std::string(), but the new format() returns an sstring. Usually an sstring is wanted but in this case an sstring will fail as it is added to an std::string. Fix the failure (after spring->format conversion) by converting to an std::string.
This commit is contained in:
@@ -350,7 +350,7 @@ public:
|
||||
|
||||
const std::string test_run_count_name = "test_run_count";
|
||||
params_value[test_run_count_name.c_str()] = test_run_count;
|
||||
params_value[all_params_names + "," + test_run_count_name] = all_params_values + sprint(",%d", test_run_count);
|
||||
params_value[all_params_names + "," + test_run_count_name] = all_params_values + std::string(sprint(",%d", test_run_count));
|
||||
|
||||
Json::Value stats_value{Json::objectValue};
|
||||
for (size_t i = 0; i < stats_names.size(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user