diff options
author | vlmarkov <vlmarkov@yandex-team.ru> | 2022-02-10 16:46:06 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:06 +0300 |
commit | 6a382399c9a1053abd7d772ec30ca9873f7429a1 (patch) | |
tree | f13f43c75b816da6bd8ee13cda92798d3956663f | |
parent | ce2ad6f6a6f6025e37fb7f8debe7cefd3aa2307c (diff) | |
download | ydb-6a382399c9a1053abd7d772ec30ca9873f7429a1.tar.gz |
Restoring authorship annotation for <vlmarkov@yandex-team.ru>. Commit 1 of 2.
33 files changed, 62 insertions, 62 deletions
diff --git a/contrib/restricted/thrift/ya.make b/contrib/restricted/thrift/ya.make index ffdf32e4f7..e38e2fc95e 100644 --- a/contrib/restricted/thrift/ya.make +++ b/contrib/restricted/thrift/ya.make @@ -13,8 +13,8 @@ OWNER( NO_UTIL() -NO_COMPILER_WARNINGS() - +NO_COMPILER_WARNINGS() + ADDINCL( GLOBAL contrib/restricted/thrift ) diff --git a/library/cpp/actors/core/executor_pool_united.cpp b/library/cpp/actors/core/executor_pool_united.cpp index dac6245635..885ccaae2d 100644 --- a/library/cpp/actors/core/executor_pool_united.cpp +++ b/library/cpp/actors/core/executor_pool_united.cpp @@ -546,7 +546,7 @@ namespace NActors { switch (SlowWorkerAction(wctx.PoolId)) { case WakeFast: WakeFastWorker(); - [[fallthrough]]; // no break; pass through + [[fallthrough]]; // no break; pass through case BecameIdle: wctx.Lease = wctx.Lease.NeverExpire(); wctx.PoolId = MaxPools; diff --git a/library/cpp/actors/http/http.h b/library/cpp/actors/http/http.h index 96c5c1ec48..97327ea127 100644 --- a/library/cpp/actors/http/http.h +++ b/library/cpp/actors/http/http.h @@ -505,7 +505,7 @@ public: switch (Stage) { case ERenderStage::Header: FinishHeader(); - break; + break; default: break; } diff --git a/library/cpp/actors/interconnect/interconnect_handshake.cpp b/library/cpp/actors/interconnect/interconnect_handshake.cpp index 9ede998d8e..58cd6dc639 100644 --- a/library/cpp/actors/interconnect/interconnect_handshake.cpp +++ b/library/cpp/actors/interconnect/interconnect_handshake.cpp @@ -207,7 +207,7 @@ namespace NActors { case NInterconnect::TSecureSocket::EStatus::ERROR: Fail(TEvHandshakeFail::HANDSHAKE_FAIL_PERMANENT, err, true); - [[fallthrough]]; + [[fallthrough]]; case NInterconnect::TSecureSocket::EStatus::WANT_READ: WaitPoller(true, false, "ReadEstablish"); @@ -224,7 +224,7 @@ namespace NActors { switch (const ui32 type = ev->GetTypeRewrite()) { case TEvents::TSystem::Wakeup: Fail(TEvHandshakeFail::HANDSHAKE_FAIL_TRANSIENT, Sprintf("Handshake timed out, State# %s", State.data()), true); - [[fallthrough]]; + [[fallthrough]]; case ui32(ENetwork::NodeInfo): case TEvInterconnect::EvNodeAddress: @@ -878,9 +878,9 @@ namespace NActors { Fail(TEvHandshakeFail::HANDSHAKE_FAIL_PERMANENT, Sprintf("Connection failed: %s", strerror(err)), true); } break; - - default: - break; + + default: + break; } auto it = LastLogNotice.find(PeerNodeId); diff --git a/library/cpp/codecs/greedy_dict/gd_stats.h b/library/cpp/codecs/greedy_dict/gd_stats.h index b63c4c38d2..9a5cee4219 100644 --- a/library/cpp/codecs/greedy_dict/gd_stats.h +++ b/library/cpp/codecs/greedy_dict/gd_stats.h @@ -61,12 +61,12 @@ namespace NGreedyDict { switch (score) { case ES_LEN_COUNT: m = len; - [[fallthrough]]; + [[fallthrough]]; case ES_COUNT: return m * count; case ES_LEN_SIMPLE: m = len; - [[fallthrough]]; + [[fallthrough]]; case ES_SIMPLE: return m * SimpleTest(modelp, count, total); case ES_SOLAR: diff --git a/library/cpp/coroutine/engine/network.cpp b/library/cpp/coroutine/engine/network.cpp index 85b647d210..c1dcf10d46 100644 --- a/library/cpp/coroutine/engine/network.cpp +++ b/library/cpp/coroutine/engine/network.cpp @@ -68,8 +68,8 @@ namespace NCoro { case ETIMEDOUT: if (status != EINPROGRESS) { break; - } - [[fallthrough]]; + } + [[fallthrough]]; default: status = ev.Status(); ret = &ev; diff --git a/library/cpp/histogram/adaptive/adaptive_histogram.cpp b/library/cpp/histogram/adaptive/adaptive_histogram.cpp index cbfc494021..8680e45b25 100644 --- a/library/cpp/histogram/adaptive/adaptive_histogram.cpp +++ b/library/cpp/histogram/adaptive/adaptive_histogram.cpp @@ -190,7 +190,7 @@ namespace NKiwiAggr { case HT_ADAPTIVE_HISTOGRAM: if (CalcQuality != nullptr) break; // ok - [[fallthrough]]; + [[fallthrough]]; default: // not ok ythrow yexception() << "Attempt to parse TAdaptiveHistogram from THistogram protobuf record of type = " << (ui32)histo.GetType(); } diff --git a/library/cpp/http/fetch/httpparser.h b/library/cpp/http/fetch/httpparser.h index 769828e4ae..d9348e9cca 100644 --- a/library/cpp/http/fetch/httpparser.h +++ b/library/cpp/http/fetch/httpparser.h @@ -195,7 +195,7 @@ protected: case hp_begin_chunk_header: ChunkParser.Init(); State = hp_chunk_header; - [[fallthrough]]; + [[fallthrough]]; case hp_chunk_header: if ((ret = ChunkParser.Execute(buf, size)) < 0) { @@ -232,7 +232,7 @@ protected: return size; size = 0; } - break; + break; } } return size; diff --git a/library/cpp/http/fetch/httpzreader.h b/library/cpp/http/fetch/httpzreader.h index 68eb00853d..742ae47b77 100644 --- a/library/cpp/http/fetch/httpzreader.h +++ b/library/cpp/http/fetch/httpzreader.h @@ -114,7 +114,7 @@ public: // there is no data in next_out yet if (BufSize == Stream.avail_out) continue; - [[fallthrough]]; // don't break or return; continue with Z_STREAM_END case + [[fallthrough]]; // don't break or return; continue with Z_STREAM_END case case Z_STREAM_END: if (Stream.total_out > MaxContSize) { diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp index 6689be684f..8f0b9612e4 100644 --- a/library/cpp/http/io/stream.cpp +++ b/library/cpp/http/io/stream.cpp @@ -323,7 +323,7 @@ private: p.KeepAlive = false; } } - [[fallthrough]]; + [[fallthrough]]; HEADERCMP(header, "expect") { auto findContinue = [&](const TStringBuf& s) { if (strnicmp(s.data(), "100-continue", 13) == 0) { diff --git a/library/cpp/protobuf/json/proto2json_printer.cpp b/library/cpp/protobuf/json/proto2json_printer.cpp index 6123eab0f2..0e6f780643 100644 --- a/library/cpp/protobuf/json/proto2json_printer.cpp +++ b/library/cpp/protobuf/json/proto2json_printer.cpp @@ -426,7 +426,7 @@ namespace NProtobufJson { default: ythrow yexception() << "Unsupported enum mode."; } - break; + break; } case FieldDescriptor::CPPTYPE_STRING: result = reflection->GetString(proto, &field); diff --git a/library/cpp/regex/hyperscan/hyperscan.cpp b/library/cpp/regex/hyperscan/hyperscan.cpp index ba321f9c29..b29c8f8a0f 100644 --- a/library/cpp/regex/hyperscan/hyperscan.cpp +++ b/library/cpp/regex/hyperscan/hyperscan.cpp @@ -33,7 +33,7 @@ namespace NHyperscan { switch (runtime) { default: Y_ASSERT(false); - [[fallthrough]]; + [[fallthrough]]; case ERuntime::Core2: case ERuntime::Corei7: return 0; @@ -57,7 +57,7 @@ namespace NHyperscan { switch (runtime) { default: Y_ASSERT(false); - [[fallthrough]]; + [[fallthrough]]; case ERuntime::Core2: AllocScratch = core2_hs_alloc_scratch; Scan = core2_hs_scan; diff --git a/library/cpp/scheme/scheme.cpp b/library/cpp/scheme/scheme.cpp index 3efd116d4f..4052af9089 100644 --- a/library/cpp/scheme/scheme.cpp +++ b/library/cpp/scheme/scheme.cpp @@ -178,7 +178,7 @@ namespace NSc { switch (otherCore.ValueType) { default: Y_ASSERT(false); - [[fallthrough]]; + [[fallthrough]]; case EType::Null: break; case EType::Bool: diff --git a/library/cpp/scheme/scimpl_json_write.cpp b/library/cpp/scheme/scimpl_json_write.cpp index aadd7e6cd5..de57095314 100644 --- a/library/cpp/scheme/scimpl_json_write.cpp +++ b/library/cpp/scheme/scimpl_json_write.cpp @@ -77,7 +77,7 @@ namespace NSc { switch (core.ValueType) { default: { Y_ASSERT(false); - [[fallthrough]]; /* no break */ + [[fallthrough]]; /* no break */ } case EType::Null: { out << TStringBuf("null"); diff --git a/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp b/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp index a03f5aef53..fd1b619b79 100644 --- a/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp +++ b/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp @@ -75,7 +75,7 @@ namespace NSc::NUt { if (!DoParsePos(state, ref)) { return Nothing(); } - [[fallthrough]]; + [[fallthrough]]; case TRef::T_CREATE_FRONT: case TRef::T_CREATE_BACK: return ref; @@ -116,7 +116,7 @@ namespace NSc::NUt { if (!DoParsePos(state, dst)) { return Nothing(); } - [[fallthrough]]; + [[fallthrough]]; case TDst::T_CREATE_FRONT_LREF: case TDst::T_CREATE_FRONT_CREF: case TDst::T_CREATE_FRONT_RREF: diff --git a/library/cpp/streams/bzip2/bzip2.cpp b/library/cpp/streams/bzip2/bzip2.cpp index bccc5c6807..2288ddcb1f 100644 --- a/library/cpp/streams/bzip2/bzip2.cpp +++ b/library/cpp/streams/bzip2/bzip2.cpp @@ -43,7 +43,7 @@ public: case BZ_STREAM_END: { Clear(); Init(); - [[fallthrough]]; + [[fallthrough]]; } case BZ_OK: { diff --git a/library/cpp/terminate_handler/terminate_handler.cpp b/library/cpp/terminate_handler/terminate_handler.cpp index d7e8fbed95..61a4a28947 100644 --- a/library/cpp/terminate_handler/terminate_handler.cpp +++ b/library/cpp/terminate_handler/terminate_handler.cpp @@ -16,10 +16,10 @@ namespace { break; case 2: Cerr << "FancyTerminateHandler called recursively" << Endl; - [[fallthrough]]; + [[fallthrough]]; default: abort(); - break; + break; } if (std::current_exception()) { diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp index 305bc6b40f..c99057566e 100644 --- a/library/cpp/testing/unittest/utmain.cpp +++ b/library/cpp/testing/unittest/utmain.cpp @@ -492,7 +492,7 @@ private: // test could fail with zero status if it calls exit(0) in the middle. if (ForkExitedCorrectly) break; - [[fallthrough]]; + [[fallthrough]]; } case TShellCommand::SHELL_ERROR: { ythrow yexception() << "Forked test failed"; diff --git a/library/cpp/uri/parse.cpp b/library/cpp/uri/parse.cpp index 1db4e008c4..09947a5b94 100644 --- a/library/cpp/uri/parse.cpp +++ b/library/cpp/uri/parse.cpp @@ -183,7 +183,7 @@ namespace NUri { break; case TScheme::SchemeEmpty: Scheme = TScheme::SchemeUnknown; - [[fallthrough]]; + [[fallthrough]]; case TScheme::SchemeUnknown: wantCareFlags = TFeature::FeatureSchemeFlexible | TFeature::FeatureNoRelPath; diff --git a/library/cpp/yson_pull/detail/writer.h b/library/cpp/yson_pull/detail/writer.h index b24b994292..5d8e6579ba 100644 --- a/library/cpp/yson_pull/detail/writer.h +++ b/library/cpp/yson_pull/detail/writer.h @@ -223,14 +223,14 @@ namespace NYsonPull { default: break; } - [[fallthrough]]; + [[fallthrough]]; case state::value: if (event == EEventType::BeginAttributes) { push(EEventType::BeginAttributes); next_state(); return; } - [[fallthrough]]; + [[fallthrough]]; case state::value_noattr: switch (event) { case EEventType::Scalar: diff --git a/util/digest/murmur.cpp b/util/digest/murmur.cpp index b041d3e5f2..8b341b51fa 100644 --- a/util/digest/murmur.cpp +++ b/util/digest/murmur.cpp @@ -40,16 +40,16 @@ namespace NMurmurPrivate { switch (iter.Left()) { case 3: h ^= data[2] << 16; - [[fallthrough]]; + [[fallthrough]]; case 2: h ^= data[1] << 8; - [[fallthrough]]; + [[fallthrough]]; case 1: h ^= data[0]; h *= m; - break; + break; }; h ^= h >> 13; @@ -90,32 +90,32 @@ namespace NMurmurPrivate { switch (iter.Left()) { case 7: h ^= ui64(data2[6]) << 48; - [[fallthrough]]; + [[fallthrough]]; case 6: h ^= ui64(data2[5]) << 40; - [[fallthrough]]; + [[fallthrough]]; case 5: h ^= ui64(data2[4]) << 32; - [[fallthrough]]; + [[fallthrough]]; case 4: h ^= ui64(data2[3]) << 24; - [[fallthrough]]; + [[fallthrough]]; case 3: h ^= ui64(data2[2]) << 16; - [[fallthrough]]; + [[fallthrough]]; case 2: h ^= ui64(data2[1]) << 8; - [[fallthrough]]; + [[fallthrough]]; case 1: h ^= ui64(data2[0]); h *= m; - break; + break; } h ^= h >> r; diff --git a/util/draft/datetime.cpp b/util/draft/datetime.cpp index 5cbe7d8847..33b9152432 100644 --- a/util/draft/datetime.cpp +++ b/util/draft/datetime.cpp @@ -136,13 +136,13 @@ namespace NDatetime { return *this; case F_DAY: amount *= 24; - [[fallthrough]]; + [[fallthrough]]; case F_HOUR: amount *= 60; - [[fallthrough]]; + [[fallthrough]]; case F_MIN: amount *= 60; - [[fallthrough]]; + [[fallthrough]]; case F_SEC: { return *this = New(AsTimeT() + amount, GMTOff, IsDst); } diff --git a/util/stream/zlib.cpp b/util/stream/zlib.cpp index 60f4e9439f..38bcf1cc52 100644 --- a/util/stream/zlib.cpp +++ b/util/stream/zlib.cpp @@ -126,8 +126,8 @@ public: } else { return size - Z()->avail_out; } - - [[fallthrough]]; + + [[fallthrough]]; } case Z_OK: { diff --git a/ydb/library/yql/ast/yql_expr.cpp b/ydb/library/yql/ast/yql_expr.cpp index 82f6c5812a..9414eec12e 100644 --- a/ydb/library/yql/ast/yql_expr.cpp +++ b/ydb/library/yql/ast/yql_expr.cpp @@ -1771,11 +1771,11 @@ namespace { case TExprNode::Atom: if (one->GetFlagsToCompare() != two->GetFlagsToCompare()) return false; - [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME + [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME case TExprNode::Callable: if (one->Content() != two->Content()) return false; - [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME + [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME default: break; case TExprNode::Lambda: diff --git a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp index a32a6c3dab..734ac6d3fe 100644 --- a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp +++ b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp @@ -1614,7 +1614,7 @@ TExprNode::TPtr BuildSqlInCollectionEmptyPred(const TCoSqlIn& sqlIn, TExprContex .Add(0, collection) .Seal() .Build(); - [[fallthrough]]; + [[fallthrough]]; case ETypeAnnotationKind::List: collectionEmptyPred = BuildCollectionEmptyPred(sqlIn.Pos(), collection, ctx); break; diff --git a/ydb/library/yql/core/type_ann/type_ann_core.cpp b/ydb/library/yql/core/type_ann/type_ann_core.cpp index 5846e6cb10..5829849f38 100644 --- a/ydb/library/yql/core/type_ann/type_ann_core.cpp +++ b/ydb/library/yql/core/type_ann/type_ann_core.cpp @@ -1834,7 +1834,7 @@ namespace NTypeAnnImpl { break; } } - [[fallthrough]]; + [[fallthrough]]; } // passthrough with Struct case ETypeAnnotationKind::Struct: diff --git a/ydb/library/yql/core/type_ann/type_ann_list.cpp b/ydb/library/yql/core/type_ann/type_ann_list.cpp index b145cde389..983e81f5ac 100644 --- a/ydb/library/yql/core/type_ann/type_ann_list.cpp +++ b/ydb/library/yql/core/type_ann/type_ann_list.cpp @@ -1086,7 +1086,7 @@ namespace { resultKind = ETypeAnnotationKind::Flow; break; } - [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME + [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME default: ctx.Expr.AddError(TIssue(ctx.Expr.GetPosition(lambda->Pos()), TStringBuilder() << "Expected list, stream or optional as FlatMap lambda return type, but got: " << *lambda->GetTypeAnn())); diff --git a/ydb/library/yql/core/yql_expr_csee.cpp b/ydb/library/yql/core/yql_expr_csee.cpp index b0e7525521..35a2a8e02d 100644 --- a/ydb/library/yql/core/yql_expr_csee.cpp +++ b/ydb/library/yql/core/yql_expr_csee.cpp @@ -269,7 +269,7 @@ namespace { if (left.Content().data() != right.Content().data()) { return false; } - [[fallthrough]]; + [[fallthrough]]; case TExprNode::List: if (left.ChildrenSize() != right.ChildrenSize()) { return false; diff --git a/ydb/library/yql/core/yql_expr_type_annotation.cpp b/ydb/library/yql/core/yql_expr_type_annotation.cpp index f2b793af8d..bafcba3592 100644 --- a/ydb/library/yql/core/yql_expr_type_annotation.cpp +++ b/ydb/library/yql/core/yql_expr_type_annotation.cpp @@ -97,7 +97,7 @@ IGraphTransformer::TStatus TryConvertToImpl(TExprContext& ctx, TExprNode::TPtr& node = ctx.NewCallable(node->Pos(), "ToStream", {std::move(node)}); return IGraphTransformer::TStatus::Repeat; } - break; + break; default: break; } } @@ -1170,8 +1170,8 @@ ECompareOptions CanCompare(const TStructExprType* left, const TStructExprType* r switch (CanCompare<Equality>(field.second.front(), field.second.back())) { case ECompareOptions::Null: hasMissed = true; continue; case ECompareOptions::Uncomparable: return ECompareOptions::Uncomparable; - case ECompareOptions::Optional: hasMissed = true; [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME - case ECompareOptions::Comparable: hasCommon = true; break; + case ECompareOptions::Optional: hasMissed = true; [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME + case ECompareOptions::Comparable: hasCommon = true; break; } } @@ -1203,7 +1203,7 @@ ECompareOptions CanCompare(const TVariantExprType* left, const TVariantExprType* switch (CanCompare<Equality>(leftItemType, rightItemType)) { case ECompareOptions::Null: hasMissed = true; continue; case ECompareOptions::Uncomparable: return ECompareOptions::Uncomparable; - case ECompareOptions::Optional: hasMissed = true; break; + case ECompareOptions::Optional: hasMissed = true; break; case ECompareOptions::Comparable: break; } } diff --git a/ydb/library/yql/minikql/dom/peel.cpp b/ydb/library/yql/minikql/dom/peel.cpp index 33f22011dd..6b31fe536c 100644 --- a/ydb/library/yql/minikql/dom/peel.cpp +++ b/ydb/library/yql/minikql/dom/peel.cpp @@ -346,7 +346,7 @@ TUnboxedValuePod TryPeelDom(const ITypeInfoHelper::TPtr typeHelper, const TType* case ETypeKind::Resource: if (const auto inspector = TResourceTypeInspector(*typeHelper, shape); TStringBuf(inspector.GetTag()) == NodeResourceName) return value; - [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME + [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME default: UdfTerminate((::TStringBuilder() << "Unsupported data kind: " << kind).c_str()); } diff --git a/ydb/library/yql/sql/v1/sql.cpp b/ydb/library/yql/sql/v1/sql.cpp index ab5a864788..0bd9f09579 100644 --- a/ydb/library/yql/sql/v1/sql.cpp +++ b/ydb/library/yql/sql/v1/sql.cpp @@ -2574,7 +2574,7 @@ TNodePtr TSqlTranslation::TypeNode(const TRule_type_name_composite& node) { items.push_back(typeNode); } } - [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME + [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME } case TRule_type_name_tuple::TBlock2::kAlt2: break; @@ -2616,7 +2616,7 @@ TNodePtr TSqlTranslation::TypeNode(const TRule_type_name_composite& node) { items.push_back(makeQuote(new TAstListNodeImpl(pos, { tag, typeNode }))); } } - [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME + [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME } case TRule_type_name_struct::TBlock2::kAlt2: break; diff --git a/ydb/library/yql/udfs/common/yson2/yson2_udf.cpp b/ydb/library/yql/udfs/common/yson2/yson2_udf.cpp index 1278ec565c..b1e57eb911 100644 --- a/ydb/library/yql/udfs/common/yson2/yson2_udf.cpp +++ b/ydb/library/yql/udfs/common/yson2/yson2_udf.cpp @@ -844,7 +844,7 @@ protected: case ETypeKind::Resource: if (const auto inspector = TResourceTypeInspector(*typeHelper, shape); TStringBuf(inspector.GetTag()) == NodeResourceName) return nullptr; - [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME + [[fallthrough]]; // AUTOGENERATED_FALLTHROUGH_FIXME default: return shape; } diff --git a/ydb/public/sdk/cpp/client/ydb_table/table.cpp b/ydb/public/sdk/cpp/client/ydb_table/table.cpp index 610fec3884..4f25872d06 100644 --- a/ydb/public/sdk/cpp/client/ydb_table/table.cpp +++ b/ydb/public/sdk/cpp/client/ydb_table/table.cpp @@ -4237,7 +4237,7 @@ std::function<void(TSession::TImpl*)> TSession::TImpl::GetSmartDeleter(std::shar if (!client->ReturnSession(sessionImpl)) { client->DeleteSession(sessionImpl); } - break; + break; } default: break; |