values: use unpackValue in unpackVector

This commit is contained in:
Adrien Béraud committed 2015-04-16 13:45:49 -04:00
1 parent c99f4ea653
commit ee40fa2bc7
1 file changed
+1 -1
+1 -1
View File
@@ -366,7 +366,7 @@ unpackVector(const std::vector<std::shared_ptr<Value>>& vals) {
for (const auto& v : vals) {
try {
T msg;
msg.unpackBlob(v->data);
msg.unpackValue(*v);
ret.emplace_back(std::move(msg));
} catch (const std::exception&) {}
}