diff --git a/presto-native-execution/presto_cpp/main/Announcer.cpp b/presto-native-execution/presto_cpp/main/Announcer.cpp index 185eedcd85e90..f1404bd08a60b 100644 --- a/presto-native-execution/presto_cpp/main/Announcer.cpp +++ b/presto-native-execution/presto_cpp/main/Announcer.cpp @@ -100,9 +100,9 @@ Announcer::Announcer( announcementRequest_( announcementRequest(address, port, nodeId, announcementBody_)), pool_(velox::memory::addDefaultLeafMemoryPool("Announcer")), - eventBaseThread_(false /*autostart*/), clientCertAndKeyPath_(clientCertAndKeyPath), - ciphers_(ciphers) {} + ciphers_(ciphers), + eventBaseThread_(false /*autostart*/) {} void Announcer::start() { eventBaseThread_.start("Announcer"); diff --git a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.h b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.h index cc4c1198688f5..91c1f56b5d8ca 100644 --- a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.h +++ b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.h @@ -35,7 +35,7 @@ class VeloxQueryPlanConverterBase { explicit VeloxQueryPlanConverterBase( velox::core::QueryCtx* queryCtx, velox::memory::MemoryPool* pool) - : queryCtx_{queryCtx}, pool_(pool), exprConverter_(pool) {} + : pool_(pool), queryCtx_{queryCtx}, exprConverter_(pool) {} virtual ~VeloxQueryPlanConverterBase() = default;