Skip to content
Snippets Groups Projects
Commit e9b8ac44 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Fix Timestamps Query in EntityQueryProcessor

parent 5bf6e920
No related branches found
No related tags found
1 merge request!96ArMemMemoryViewer
......@@ -25,6 +25,10 @@ namespace armarx::armem
{
process(result, *q, entity);
}
else if (auto q = dynamic_cast<const query::entity::Timestamps*>(&query))
{
process(result, *q, entity);
}
else
{
throw armem::error::UnknownQueryType("entity snapshot", query);
......@@ -86,7 +90,7 @@ namespace armarx::armem
{
if (timestampsOnly)
{
result.history.emplace(it->second->time, nullptr);
result.addSnapshot(std::make_unique<EntitySnapshot>(it->second->time));
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment