File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
google/cloud/bigtable/internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ inline bool IsEmptyRowKey(std::string const& key) { return key.empty(); }
4141// / Return true if the row key is empty.
4242inline bool IsEmptyRowKey (char const * key) { return std::string{} == key; }
4343
44- // / Clear the row key.
45- inline void Clear (std::string& key) { key.clear (); }
46-
4744#if GOOGLE_CLOUD_CPP_CPP_VERSION >= 201703L
4845// / Return true if the row key is empty.
4946inline bool IsEmptyRowKey (std::string_view key) { return key.empty (); }
5047#endif // GOOGLE_CLOUD_CPP_CPP_VERSION >= 201703L
5148
49+ // / Clear the row key.
50+ inline void Clear (std::string& key) { key.clear (); }
51+
5252// / Return `< 0` if `lhs < rhs`, 0 if `lhs == rhs`, and `> 0' otherwise.
5353inline int CompareRowKey (std::string const & lhs, std::string const & rhs) {
5454 return lhs.compare (rhs);
You can’t perform that action at this time.
0 commit comments