Internal Change

PiperOrigin-RevId: 528399911
This commit is contained in:
MediaPipe Team 2023-04-30 23:08:15 -07:00 committed by Copybara-Service
parent c29e43dda0
commit 80b19fff4b

View File

@ -223,6 +223,16 @@ class SourceImpl {
return !(*this == other);
}
Src& SetName(const char* name) {
base_->name_ = std::string(name);
return *this;
}
Src& SetName(absl::string_view name) {
base_->name_ = std::string(name);
return *this;
}
Src& SetName(std::string name) {
base_->name_ = std::move(name);
return *this;