Remove useless casts

This commit removes only casts where type A is cast to the exactly same
type (and not to a platform dependent typedefs)
This commit is contained in:
Dan Čermák
2018-03-31 10:43:37 +02:00
parent 9583e447b2
commit bc58752d18
8 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ try {
// tag is added.
exifData["Exif.Image.Model"] = "Test 1"; // AsciiValue
exifData["Exif.Image.SamplesPerPixel"] = uint16_t(162); // UShortValue
exifData["Exif.Image.XResolution"] = int32_t(-2); // LongValue
exifData["Exif.Image.XResolution"] = -2; // LongValue
exifData["Exif.Image.YResolution"] = Exiv2::Rational(-2, 3); // RationalValue
std::cout << "Added a few tags the quick way.\n";