Skip to content

Commit 6fb9986

Browse files
committed
chore: clang-tidy
1 parent f343515 commit 6fb9986

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

google/cloud/bigtable/value.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,7 @@ class Value {
693693
*/
694694
static void ValidateMapValue(google::bigtable::v2::Type& t,
695695
google::bigtable::v2::Value& v) {
696-
return;
697-
if (!t.has_map_type() || v.array_value().values().size() == 0) return;
696+
if (!t.has_map_type() || v.array_value().values().empty()) return;
698697
std::map<std::string, google::bigtable::v2::Value> m;
699698
for (auto const& kv : v.array_value().values()) {
700699
auto key = kv.array_value().values()[0];

0 commit comments

Comments
 (0)