File tree 4 files changed +19
-1
lines changed
services/bg_tasks/abstract
4 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
#include < ydb/core/protos/flat_scheme_op.pb.h>
3
- #include < ydb/core/tx/columnshard/engines/column_engine.h>
3
+ #include < ydb/core/tx/columnshard/engines/scheme/tier_info.h>
4
+
4
5
#include < ydb/services/metadata/abstract/decoder.h>
5
6
#include < ydb/services/metadata/service.h>
6
7
#include < ydb/services/metadata/manager/object.h>
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ PEERDIR(
14
14
ydb/services/metadata/abstract
15
15
ydb/services/metadata/common
16
16
ydb/services/metadata/initializer
17
+ ydb/services/metadata/manager
17
18
ydb/services/bg_tasks/abstract
18
19
ydb/core/tx/schemeshard
19
20
)
Original file line number Diff line number Diff line change @@ -50,12 +50,26 @@ class TConclusion {
50
50
return *result;
51
51
}
52
52
53
+ TResult& MutableResult () {
54
+ auto result = std::get_if<TResult>(&Result);
55
+ Y_ABORT_UNLESS (result, " incorrect object for result request" );
56
+ return *result;
57
+ }
58
+
53
59
TResult&& DetachResult() {
54
60
auto result = std::get_if<TResult>(&Result);
55
61
Y_ABORT_UNLESS (result, " incorrect object for result request" );
56
62
return std::move (*result);
57
63
}
58
64
65
+ const TResult* operator ->() const {
66
+ return &GetResult ();
67
+ }
68
+
69
+ TResult* operator ->() {
70
+ return &MutableResult ();
71
+ }
72
+
59
73
const TResult& operator *() const {
60
74
return GetResult ();
61
75
}
Original file line number Diff line number Diff line change @@ -164,10 +164,12 @@ class TCommonInterfaceContainer {
164
164
}
165
165
166
166
const IInterface* operator ->() const {
167
+ AFL_VERIFY (Object);
167
168
return Object.get ();
168
169
}
169
170
170
171
IInterface* operator ->() {
172
+ AFL_VERIFY (Object);
171
173
return Object.get ();
172
174
}
173
175
You can’t perform that action at this time.
0 commit comments