GZIPCompressorOutputStream warning


#1

Benign, but simple to fix…

GZIPCompressorOutputStream::GZIPCompressorOutputStream (OutputStream& destStream, int compressionLevel, int windowBits)
   : GZIPCompressorOutputStream (&destStream, compressionLevel, false, windowBits)
{
}

Warning:

/modules/juce_core/zip/juce_GZIPCompressorOutputStream.cpp:116:71: Declaration shadows a field of ‘juce::GZIPCompressorOutputStream’

destStream is defined in the class elsewhere… so if you change the parameter name you’ll get rid of the warning.

Cheers,

Rail


#2

Thanks, will tidy up. (Odd that it didn’t show up in our builds)