Skip to content

Commit

Permalink
Merge pull request #1753 from dawgfoto/std_zip3
Browse files Browse the repository at this point in the history
add deprecation message
  • Loading branch information
monarchdodra committed Dec 9, 2013
2 parents 281a5b7 + 30433e4 commit 624499f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion std/zip.d
Expand Up @@ -193,7 +193,9 @@ class ArchiveMember
* CompressionMethod
**/
@property CompressionMethod compressionMethod() { return _compressionMethod; }
deprecated @property void compressionMethod(ushort cm)

deprecated("Please use the enum CompressionMethod to set this property instead.")
@property void compressionMethod(ushort cm)
{
compressionMethod = cast(CompressionMethod)(cm);
}
Expand Down

0 comments on commit 624499f

Please sign in to comment.