return empty string instead of nullptr

pull/17687/head
Yash Tibrewal 6 years ago
parent 7a5a9544ef
commit f1e9306c70
  1. 2
      examples/cpp/keyvaluestore/server.cc

@ -57,7 +57,7 @@ const char * get_value_from_map(const char* key) {
return kvs_map[i].value;
}
}
return nullptr;
return "";
}
// Logic and data behind the server's behavior.

Loading…
Cancel
Save