From 78402ade07d5d0e59b5e5200877d4f626e6ac860 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 28 Dec 2019 07:26:55 +0300 Subject: [PATCH] Simplification --- dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp b/dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp index 3a2140d53f..1b731cd552 100644 --- a/dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp +++ b/dbms/src/AggregateFunctions/AggregateFunctionAggThrow.cpp @@ -23,7 +23,7 @@ namespace struct AggregateFunctionThrowData { - std::unique_ptr memory{ new char[1] }; + std::unique_ptr memory{ new char }; }; /** Throw on creation with probability specified in parameter. -- GitLab