sryanyuan commented on code in PR #3170:
URL: https://github.com/apache/kvrocks/pull/3170#discussion_r2347800333


##########
src/config/config.cc:
##########
@@ -125,8 +125,8 @@ Status SetRocksdbCompression(Server *srv, const 
rocksdb::CompressionType compres
   for (size_t i = compression_start_level; i < KVROCKS_MAX_LSM_LEVEL; i++) {
     compression_per_level_builder.emplace_back(compression_option);
   }
-  const std::string compression_per_level = util::StringJoin(
-      compression_per_level_builder, [](const auto &s) -> decltype(auto) { 
return s; }, ":");
+  const std::string compression_per_level =
+      util::StringJoin(compression_per_level_builder, [](const auto &s) -> 
decltype(auto) { return s; }, ":");

Review Comment:
   I did not modify the code logic, but only reformatted it. Attempting to 
introduce new code triggers a compilation error: called object type 'const 
char[2]' is not a function or function pointer



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to