Remove implicit magic from OptVar copy operator and introduce oassign()
function instead.
This commit is contained in:
@@ -69,6 +69,7 @@ PackMaster::PackMaster(InputFile *f, struct options_t *o) :
|
||||
if (o)
|
||||
{
|
||||
this->local_options = *o; // struct copy
|
||||
//memcpy(&this->local_options, o, sizeof(*o)); // struct copy
|
||||
opt = &this->local_options;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user