mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Unused =operator: copy function instead
This commit is contained in:
@@ -58,7 +58,7 @@ void ImageProcessingShader::reset()
|
||||
|
||||
}
|
||||
|
||||
void ImageProcessingShader::copy(const ImageProcessingShader &S)
|
||||
void ImageProcessingShader::copy(ImageProcessingShader const& S)
|
||||
{
|
||||
brightness = S.brightness;
|
||||
contrast = S.contrast;
|
||||
@@ -75,11 +75,6 @@ void ImageProcessingShader::copy(const ImageProcessingShader &S)
|
||||
chromadelta = S.chromadelta;
|
||||
}
|
||||
|
||||
void ImageProcessingShader::operator = (const ImageProcessingShader &S )
|
||||
{
|
||||
copy(S);
|
||||
}
|
||||
|
||||
|
||||
void ImageProcessingShader::accept(Visitor& v)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user