Fix warning

This commit is contained in:
Salvatore Mesoraca 2023-04-18 14:19:39 +02:00
parent dbd9aec42c
commit d65f98ea25
No known key found for this signature in database
GPG Key ID: 0567E50A25403074

View File

@ -201,7 +201,7 @@ namespace
template <typename T>
bool executeNum(const IColumn * in_untyped, IColumn & column_result, const ColumnPtr default_non_const) const
{
const auto in = checkAndGetColumn<T>(in_untyped);
const auto * const in = checkAndGetColumn<T>(in_untyped);
if (!in)
return false;
const auto & pod = in->getData();
@ -372,7 +372,7 @@ namespace
bool executeString(const IColumn * in_untyped, IColumn & column_result, const ColumnPtr default_non_const) const
{
const auto in = checkAndGetColumn<ColumnString>(in_untyped);
const auto * const in = checkAndGetColumn<ColumnString>(in_untyped);
if (!in)
return false;
const auto & data = in->getChars();