diff --git a/dbms/src/Core/FieldVisitors.cpp b/dbms/src/Core/FieldVisitors.cpp index 8373b481fa8..c2c4832ecbf 100644 --- a/dbms/src/Core/FieldVisitors.cpp +++ b/dbms/src/Core/FieldVisitors.cpp @@ -34,10 +34,10 @@ String FieldVisitorDump::operator() (const Array & x) const String FieldVisitorToString::formatFloat(const Float64 x) { - DoubleConverter::BufferType buffer; + DoubleConverter::BufferType buffer; double_conversion::StringBuilder builder{buffer, sizeof(buffer)}; - const auto result = DoubleConverter::instance().ToShortest(x, &builder); + const auto result = DoubleConverter::instance().ToShortest(x, &builder); if (!result) throw Exception("Cannot print float or double number", ErrorCodes::CANNOT_PRINT_FLOAT_OR_DOUBLE_NUMBER);