LaserScan: fixed destination format when source is empty with operator+

This commit is contained in:
matlabbe
2022-01-11 15:32:30 -05:00
parent f69085304e
commit 49353b134c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ LaserScan LaserScan::operator+(const LaserScan & scan)
{
if(this->empty())
{
dest = LaserScan(scan.data().clone(), 0, 0, this->format());
dest = scan.clone();
}
else
{