Remove implicit magic from OptVar copy operator and introduce oassign()

function instead.
This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-20 11:04:31 +01:00
parent 4dfe9d52e9
commit 03e891c0e8
5 changed files with 51 additions and 33 deletions
+1
View File
@@ -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;
}
}