summaryrefslogtreecommitdiff
path: root/lib/d
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2016-03-13 19:31:14 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2016-03-17 01:26:16 +0900
commit8e1fd869853e5b5d1aa97f69ac6b567b0e9c7ccd (patch)
treef4c6f329f8bc502122ab40daed823fe0bd29d007 /lib/d
parent1d20a370d25b7154104289bb337ab4375edf19b9 (diff)
downloadthrift-8e1fd869853e5b5d1aa97f69ac6b567b0e9c7ccd.tar.gz
THRIFT-3739 Deprecation warning in codegen/base.d
This closes #946
Diffstat (limited to 'lib/d')
-rw-r--r--lib/d/src/thrift/codegen/base.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/d/src/thrift/codegen/base.d b/lib/d/src/thrift/codegen/base.d
index 0e943352d..db549928c 100644
--- a/lib/d/src/thrift/codegen/base.d
+++ b/lib/d/src/thrift/codegen/base.d
@@ -592,7 +592,7 @@ template TIsSetFlags(T, alias fieldMetaData) {
* the wire without altering their definitions.
*/
void readStruct(T, Protocol, alias fieldMetaData = cast(TFieldMeta[])null,
- bool pointerStruct = false)(ref T s, Protocol p) if (isTProtocol!Protocol)
+ bool pointerStruct = false)(auto ref T s, Protocol p) if (isTProtocol!Protocol)
{
mixin({
string code;