Skip to content

Commit

Permalink
[VL] [Minor] Fix compile error in debug mode (apache#3765)
Browse files Browse the repository at this point in the history
Co-authored-by: Hongze Zhang <[email protected]>
  • Loading branch information
JkSelf and zhztheplayer authored Nov 20, 2023
1 parent cb18fc1 commit 7553cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/velox/compute/VeloxBackend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -205,7 +205,7 @@ void VeloxBackend::init(const std::unordered_map<std::string, std::string>& conf
initIOExecutor(veloxcfg);

#ifdef GLUTEN_PRINT_DEBUG
printConf(veloxcfg);
printConf(*veloxcfg);
#endif

veloxmemcfg->setValue(
Expand Down

0 comments on commit 7553cd1

Please sign in to comment.