Aki Sukegawa created THRIFT-3739:
------------------------------------
Summary: 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)