Small improvements

This commit is contained in:
Markus Gans 2020-11-01 22:40:28 +01:00
parent ff70abd073
commit a053ccd69e
1 changed files with 1 additions and 1 deletions

View File

@ -1576,7 +1576,7 @@ void FMouseControl::processEvent (struct timeval* time)
if ( mouse_object )
{
mouse_object->processEvent(time);
const auto& md = static_cast<FMouseData>(*mouse_object);
auto& md = static_cast<FMouseData&>(*mouse_object);
fmousedata_queue.emplace(new FMouseData(std::move(md)));
}
}