Fix some more missing copy warnings in the generated code
Merge pull request #252 from rpjohnst/master

Fix some more missing copy warnings in the generated code