Commit 5429c0fd authored by Michael Ott's avatar Michael Ott
Browse files

Add missing default switch/case in Sensor::query()

parent da3cf5c4
......@@ -99,6 +99,9 @@ namespace DCDB {
case AGGREGATE_COUNT:
result.begin()->value = result.size();
break;
default:
std::cout << "Unknown aggregate " << aggregate << " in Sensor::query()" << std::endl;
break;
}
result.erase(std::next(result.begin()), result.end());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment