From fe756f944406a2a0da28b5d6c8c74bcbe4f3169a Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Tue, 9 Apr 2019 16:32:57 +0300 Subject: [PATCH] Fix clang warnings. --- .../Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp | 5 +++-- .../src/Processors/Formats/Impl/JSONCompactRowOutputFormat.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp b/dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp index 44fafc5d5db..dc742e560a0 100644 --- a/dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp +++ b/dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp @@ -7,8 +7,9 @@ namespace DB { -JSONCompactRowOutputFormat::JSONCompactRowOutputFormat(WriteBuffer & out_, const Block & header, const FormatSettings & settings) - : JSONRowOutputFormat(out_, header, settings) +JSONCompactRowOutputFormat::JSONCompactRowOutputFormat( + WriteBuffer & out_, const Block & header, const FormatSettings & settings_) + : JSONRowOutputFormat(out_, header, settings_) { } diff --git a/dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.h b/dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.h index aedb0b45490..1f848438080 100644 --- a/dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.h +++ b/dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.h @@ -16,7 +16,7 @@ struct FormatSettings; class JSONCompactRowOutputFormat : public JSONRowOutputFormat { public: - JSONCompactRowOutputFormat(WriteBuffer & out_, const Block & header, const FormatSettings & settings); + JSONCompactRowOutputFormat(WriteBuffer & out_, const Block & header, const FormatSettings & settings_); String getName() const override { return "JSONCompactRowOutputFormat"; }