mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
values: use unpackValue in unpackVector
This commit is contained in:
1 parent
c99f4ea653
commit
ee40fa2bc7
1 file changed
+1
-1
@@ -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&) {}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user