summaryrefslogtreecommitdiffstats
path: root/yql/essentials/tools/sql2yql/sql2yql.cpp
diff options
context:
space:
mode:
authorvitya-smirnov <[email protected]>2026-01-23 15:36:47 +0300
committervitya-smirnov <[email protected]>2026-01-23 16:17:10 +0300
commit5ec2ab12d84c8edd135d4a89d87e2fbd2b281f4e (patch)
tree44cb327cb46af3c8b511fed6a8dd55f12bc04c0c /yql/essentials/tools/sql2yql/sql2yql.cpp
parent457271e202ef3564c1b5f32f9092068635d17681 (diff)
YQL-20095: Enable google-explicit-constructor
commit_hash:4d77ad10fd4db303459ec4e45e139967c7fc8196
Diffstat (limited to 'yql/essentials/tools/sql2yql/sql2yql.cpp')
-rw-r--r--yql/essentials/tools/sql2yql/sql2yql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/yql/essentials/tools/sql2yql/sql2yql.cpp b/yql/essentials/tools/sql2yql/sql2yql.cpp
index f88c2ee1aac..7f200787eca 100644
--- a/yql/essentials/tools/sql2yql/sql2yql.cpp
+++ b/yql/essentials/tools/sql2yql/sql2yql.cpp
@@ -42,7 +42,7 @@ struct TPosOutput {
ui32 Line;
ui32 Column;
- TPosOutput(IOutputStream& out)
+ explicit TPosOutput(IOutputStream& out)
: Out(out)
, Line(1)
, Column(0)
@@ -142,7 +142,7 @@ bool TestComplete(const TString& query, NYql::TAstNode& root) {
class TStoreMappingFunctor: public NLastGetopt::IOptHandler {
public:
- TStoreMappingFunctor(THashMap<TString, TString>* target, char delim = '@')
+ explicit TStoreMappingFunctor(THashMap<TString, TString>* target, char delim = '@')
: Target_(target)
, Delim_(delim)
{