diff options
author | Nobuaki Sukegawa <nsuke@apache.org> | 2016-03-13 19:31:14 +0900 |
---|---|---|
committer | Nobuaki Sukegawa <nsuke@apache.org> | 2016-03-17 01:26:16 +0900 |
commit | 8e1fd869853e5b5d1aa97f69ac6b567b0e9c7ccd (patch) | |
tree | f4c6f329f8bc502122ab40daed823fe0bd29d007 /lib/d | |
parent | 1d20a370d25b7154104289bb337ab4375edf19b9 (diff) | |
download | thrift-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.d | 2 |
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; |