net: fix sending query in sendGetValues

This commit is contained in:
Adrien Béraud committed 2020-01-20 12:15:33 -05:00
1 parent cbb2406a12
commit 707fb39975
4 files changed
+24 -17

No files matched your search

+2 -2
View File
@@ -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 {});