[Issue 14821] New: First argument of std.zlib.uncompress should be const

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 22 12:54:32 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14821

          Issue ID: 14821
           Summary: First argument of std.zlib.uncompress should be const
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: briancschott at gmail.com

According to the documentation for zlib the process of decompressing data does
not modify the compressed data. The buffer that is passed to uncompress()
should be marked const.

--


More information about the Digitalmars-d-bugs mailing list