We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1de52d9 commit d6cdb47Copy full SHA for d6cdb47
1 file changed
google/cloud/bigtable/internal/google_bytes_traits.h
@@ -38,12 +38,12 @@ namespace internal {
38
/// Return true if the row key is empty.
39
inline bool IsEmptyRowKey(std::string const& key) { return key.empty(); }
40
41
-/// Clear the row key.
42
-inline void Clear(std::string& key) { key.clear(); }
43
-
44
45
inline bool IsEmptyRowKey(char const* key) { return std::string{} == key; }
46
+/// Clear the row key.
+inline void Clear(std::string& key) { key.clear(); }
+
47
#if GOOGLE_CLOUD_CPP_CPP_VERSION >= 201703L
48
49
inline bool IsEmptyRowKey(std::string_view key) { return key.empty(); }
0 commit comments