Skip to content

Commit

Permalink
const for fields of TEvExportSchemeUploadResult
Browse files Browse the repository at this point in the history
  • Loading branch information
jepett0 committed Jan 22, 2025
1 parent 19f3a10 commit 1bc3c40
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions ydb/core/tx/schemeshard/schemeshard_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,22 +97,17 @@ namespace TEvPrivate {
};

struct TEvExportSchemeUploadResult: public TEventLocal<TEvExportSchemeUploadResult, EvExportSchemeUploadResult> {
ui64 ExportId;
ui32 ItemIdx;
bool Success;
TString Error;
const ui64 ExportId;
const ui32 ItemIdx;
const bool Success;
const TString Error;

TEvExportSchemeUploadResult(ui64 id, ui32 itemIdx, bool success, const TString& error)
: ExportId(id)
, ItemIdx(itemIdx)
, Success(success)
, Error(error)
{}

void SetError(const TString& error) {
Success = false;
Error = error;
}
};

struct TEvServerlessStorageBilling: public TEventLocal<TEvServerlessStorageBilling, EvServerlessStorageBilling> {
Expand Down

0 comments on commit 1bc3c40

Please sign in to comment.