We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f343515 commit 6fb9986Copy full SHA for 6fb9986
google/cloud/bigtable/value.h
@@ -693,8 +693,7 @@ class Value {
693
*/
694
static void ValidateMapValue(google::bigtable::v2::Type& t,
695
google::bigtable::v2::Value& v) {
696
- return;
697
- if (!t.has_map_type() || v.array_value().values().size() == 0) return;
+ if (!t.has_map_type() || v.array_value().values().empty()) return;
698
std::map<std::string, google::bigtable::v2::Value> m;
699
for (auto const& kv : v.array_value().values()) {
700
auto key = kv.array_value().values()[0];
0 commit comments