add explicit to constructor

This commit is contained in:
JackyWoo 2023-07-21 18:41:27 +08:00
parent afc6bccbce
commit 626088731b

View File

@ -22,7 +22,7 @@ public:
using Base = ConstInDepthQueryTreeVisitor<KeepEliminateFunctionVisitor>;
using Base::Base;
KeepEliminateFunctionVisitor(const QueryTreeNodes & group_by_keys_, bool & keep_aggregator_)
explicit KeepEliminateFunctionVisitor(const QueryTreeNodes & group_by_keys_, bool & keep_aggregator_)
: group_by_keys(group_by_keys_), keep_aggregator(keep_aggregator_)
{
}