You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/05/10 23:59:27 UTC

[jira] [Closed] (THRIFT-2505) go: struct should always be a pointer to avoid copying of potentially size-unbounded structs

     [ https://issues.apache.org/jira/browse/THRIFT-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer closed THRIFT-2505.
------------------------------

    Resolution: Fixed

Committed, thanks again!

> go: struct should always be a pointer to avoid copying of potentially size-unbounded structs
> --------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2505
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2505
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Compiler
>            Reporter: Aleksey Pesternikov
>            Assignee: Jens Geyer
>
> THRIFT-2451 changed the way structs are mapped. Unfortunately that introduced passing structs by value as function arguments and returned values in many places. I'm changing it back to pointers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)