feat(bigtable): add Clear(std::string&) helper for RowKeyType compatibility by drona-gyawali · Pull Request #15252 · googleapis/google-cloud-cpp
requested a review
from a team
drona-gyawali
changed the title
Add Clear() function for RowKeyType to unblock LSC
feat(bigtable): add Clear(std::string&) helper for RowKeyType compatibility
…bility Adds a Clear(std::string&) function that calls std::string::clear() in OSS builds. This unifies the interface for clearing row keys between OSS (std::string) and Google internal (absl::Cord), where an overload will call absl::Cord::Clear() instead of deprecated clear(). Signed-off-by: Dronaraj Gyawali <dronarajgyawali@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters