mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
net: fix sending query in sendGetValues
This commit is contained in:
1 parent
cbb2406a12
commit
707fb39975
4 files changed
+24
-17
No files matched your search
+2
-2
@@ -297,8 +297,8 @@ FieldValue::getLocalFilter() const
|
||||
|
||||
FieldValueIndex::FieldValueIndex(const Value& v, const Select& s)
|
||||
{
|
||||
auto selection = s.getSelection();
|
||||
if (not selection.empty()) {
|
||||
if (not s.empty()) {
|
||||
auto selection = s.getSelection();
|
||||
std::transform(selection.begin(), selection.end(), std::inserter(index, index.end()),
|
||||
[](const std::set<Value::Field>::value_type& f) {
|
||||
return std::make_pair(f, FieldValue {});
|
||||
|
||||
Reference in new issue
Block a user