From 9d0e3d107b806835f769bd03396720e0399c759a Mon Sep 17 00:00:00 2001 From: Robert Schulze Date: Tue, 19 Jul 2022 13:17:33 +0200 Subject: [PATCH] Update src/Functions/formatReadableTimeDelta.cpp Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com> --- src/Functions/formatReadableTimeDelta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/formatReadableTimeDelta.cpp b/src/Functions/formatReadableTimeDelta.cpp index 8efd13a734a..219c2d95353 100644 --- a/src/Functions/formatReadableTimeDelta.cpp +++ b/src/Functions/formatReadableTimeDelta.cpp @@ -122,7 +122,7 @@ public: throw Exception(ErrorCodes::BAD_ARGUMENTS, "Unexpected value of maximum unit argument ({}) for function {}, the only allowed values are:" " 'seconds', 'minutes', 'hours', 'days', 'months', 'years'.", - std::string(maximum_unit_str), getName()); + maximum_unit_str, getName()); auto col_to = ColumnString::create();