Skip to content

Commit

Permalink
template
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-shchetinin committed Jan 16, 2025
1 parent c8a6d44 commit be60a44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ydb/core/tx/datashard/export_s3_uploader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ class TS3Uploader: public TActorBootstrapped<TS3Uploader> {
this->Become(&TThis::StateUploadPermissions);
}

void PutDescription(const google::protobuf::Message& desc, const TString& key, TString& checksum, const auto& stateFunc) {
template<typename T>
void PutDescription(const google::protobuf::Message& desc, const TString& key, TString& checksum, T stateFunc) {
google::protobuf::TextFormat::PrintToString(desc, &Buffer);
if (EnableChecksums) {
checksum = ComputeChecksum(Buffer);
Expand Down

0 comments on commit be60a44

Please sign in to comment.