Apply readability-simplify-boolean-expr

This commit is contained in:
Flössie
2016-10-12 20:01:30 +02:00
parent 19de9d1efa
commit aeaff29ac0
18 changed files with 53 additions and 85 deletions

View File

@@ -782,7 +782,7 @@ void RawImage::getRgbCam (float rgbcam[3][4])
bool
RawImage::get_thumbSwap() const
{
return ((order == 0x4949) == (ntohs(0x1234) == 0x1234)) ? true : false;
return (order == 0x4949) == (ntohs(0x1234) == 0x1234);
}
} //namespace rtengine