Hi,

Maybe you could try:
a.mutable_MyField()->CopyFrom(b.Myfield());


Le mercredi 24 juin 2015 03:35:02 UTC+2, Aditi Dixit a écrit :
>
> Hi,
> How do I transfer contents between repeated fields? 
>
> a.set_MyField(b.Myfield()) doesn't seem to work
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to