mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
value: remove FieldSelectorDescription
FieldSelectorDescription is just Value::Field and adds nothing on top of it. Remove it in favor of Value::Field.
This commit is contained in:
1 parent
6bb00ab732
commit
70ccbe4e40
3 files changed
+5
-33
No files matched your search
+1
-1
@@ -427,7 +427,7 @@ bool Query::isSatisfiedBy(const Query& q) const {
|
||||
std::ostream& operator<<(std::ostream& s, const dht::Select& select) {
|
||||
s << "SELECT " << (select.fieldSelection_.empty() ? "*" : "");
|
||||
for (auto fs = select.fieldSelection_.begin() ; fs != select.fieldSelection_.end() ; ++fs) {
|
||||
switch (fs->getField()) {
|
||||
switch (*fs) {
|
||||
case Value::Field::Id:
|
||||
s << "id";
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user