From 7553cd1d64b469f45c5c3a5f0dd9e70930580f53 Mon Sep 17 00:00:00 2001 From: JiaKe Date: Mon, 20 Nov 2023 14:51:20 +0800 Subject: [PATCH] [VL] [Minor] Fix compile error in debug mode (#3765) Co-authored-by: Hongze Zhang --- cpp/velox/compute/VeloxBackend.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/velox/compute/VeloxBackend.cc b/cpp/velox/compute/VeloxBackend.cc index e39ef966d07f..0d57987dbe67 100644 --- a/cpp/velox/compute/VeloxBackend.cc +++ b/cpp/velox/compute/VeloxBackend.cc @@ -115,7 +115,7 @@ namespace gluten { void VeloxBackend::printConf(const facebook::velox::Config& conf) { std::ostringstream oss; oss << "STARTUP: VeloxBackend conf = {\n"; - for (auto& [k, v] : conf.values()) { + for (auto& [k, v] : conf.valuesCopy()) { oss << " {" << k << ", " << v << "}\n"; } oss << "}\n"; @@ -205,7 +205,7 @@ void VeloxBackend::init(const std::unordered_map& conf initIOExecutor(veloxcfg); #ifdef GLUTEN_PRINT_DEBUG - printConf(veloxcfg); + printConf(*veloxcfg); #endif veloxmemcfg->setValue(