Fix CQS signal. Id] 88153895 -- readability-redundant-string-init in fbcode/faiss

Reviewed By: dtolnay

Differential Revision: D72700675
export-D72700675
CodemodService Bot 2025-04-09 08:14:34 -07:00 committed by Facebook GitHub Bot
parent 7eac0346f5
commit b122987939
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ template <typename T>
std::string print_data(
std::shared_ptr<std::vector<T>> data,
const size_t divider) {
std::string ret = "";
std::string ret;
for (int i = 0; i < data->size(); ++i) {
if (i % divider) {
ret += " ";