[ 
https://issues.apache.org/jira/browse/THRIFT-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197716#comment-15197716
 ] 

ASF GitHub Bot commented on THRIFT-3739:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/thrift/pull/946


> Deprecation warning in codegen/base.d
> -------------------------------------
>
>                 Key: THRIFT-3739
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3739
>             Project: Thrift
>          Issue Type: Bug
>          Components: D - Library
>    Affects Versions: 0.9.3
>         Environment: dmd 2.070
>            Reporter: Aki Sukegawa
>            Assignee: Aki Sukegawa
>            Priority: Trivial
>
> {quote}
> ../../lib/d/src/thrift/codegen/base.d(502): Deprecation: this is not an lvalue
> {quote}
> https://travis-ci.org/apache/thrift/jobs/113139459#L5997
> It's caused by passing this pointer to "ref" parameter of "readStruct" 
> function.
> Making the parameter to auto ref resolves the problem.
> This should be OK because the readStruct function is for internal use only.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to