Fixed generation of peer-code generation

the compiler does not accept & as resolution for auto_ptr, using instead
the documentet .get() function.