Copy constructor on LaneDescription

This commit is contained in:
caheckman 2019-10-17 13:06:08 -04:00
parent 2f3415de8c
commit 5ef7347ca3
2 changed files with 10 additions and 0 deletions

View file

@ -16,6 +16,15 @@
#include "transform.hh"
#include "funcdata.hh"
/// \param op2 is the lane description to copy from
LaneDescription::LaneDescription(const LaneDescription &op2)
{
wholeSize = op2.wholeSize;
laneSize = op2.laneSize;
lanePosition = op2.lanePosition;
}
/// Create lanes that are all the same size
/// \param origSize is the size of the whole in bytes
/// \param sz is the size of a lane in bytes