From eb45d123a311fa94d18332b08d32aad171d58380 Mon Sep 17 00:00:00 2001 From: Alexey Parfenov Date: Fri, 9 Feb 2024 16:30:47 +0000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Georgi Gerganov --- common/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.cpp b/common/common.cpp index 60445e7cd..31a230fec 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -1166,7 +1166,7 @@ std::vector sampler_types_from_chars(const std::string& name std::vector sampler_types; sampler_types.reserve(names_string.size()); - for(const auto& c : names_string) { + for (const auto & c : names_string) { const auto sampler_item = sampler_name_map.find(c); if (sampler_item != sampler_name_map.end()) { sampler_types.push_back(sampler_item->second);