CID#708574 uninitialized members
Change-Id: I9b004005ac1136861759a33cee08cd945ac7d993
This commit is contained in:
parent
51f6eaec24
commit
fad9d93ee4
@ -28,17 +28,25 @@
|
||||
|
||||
class ImpErrorQuad
|
||||
{
|
||||
long nRed;
|
||||
long nGreen;
|
||||
long nBlue;
|
||||
long nRed;
|
||||
long nGreen;
|
||||
long nBlue;
|
||||
|
||||
public:
|
||||
|
||||
inline ImpErrorQuad() {}
|
||||
inline ImpErrorQuad( const BitmapColor& rColor ) :
|
||||
nRed ( (long) rColor.GetRed() << 5L ),
|
||||
nGreen ( (long) rColor.GetGreen() << 5L ),
|
||||
nBlue ( (long) rColor.GetBlue() << 5L ) {}
|
||||
ImpErrorQuad()
|
||||
: nRed(0)
|
||||
, nGreen(0)
|
||||
, nBlue(0)
|
||||
{
|
||||
}
|
||||
|
||||
ImpErrorQuad( const BitmapColor& rColor )
|
||||
: nRed( (long) rColor.GetRed() << 5L )
|
||||
, nGreen( (long) rColor.GetGreen() << 5L )
|
||||
, nBlue( (long) rColor.GetBlue() << 5L )
|
||||
{
|
||||
}
|
||||
|
||||
inline void operator=( const BitmapColor& rColor );
|
||||
inline ImpErrorQuad& operator-=( const BitmapColor& rColor );
|
||||
|
Loading…
x
Reference in New Issue
Block a user