From 1efd83bf049fa37599c4584dc42367fa747c7acd Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Sat, 18 Sep 2004 16:28:15 +0000 Subject: [PATCH] Minor cleanup --- src/exif.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/exif.cpp b/src/exif.cpp index 5cb2f632..e1d21e8e 100644 --- a/src/exif.cpp +++ b/src/exif.cpp @@ -20,14 +20,14 @@ */ /* File: exif.cpp - Version: $Name: $ $Revision: 1.59 $ + Version: $Name: $ $Revision: 1.60 $ Author(s): Andreas Huggel (ahu) History: 26-Jan-04, ahu: created 11-Feb-04, ahu: isolated as a component */ // ***************************************************************************** #include "rcsid.hpp" -EXIV2_RCSID("@(#) $Name: $ $Revision: 1.59 $ $RCSfile: exif.cpp,v $"); +EXIV2_RCSID("@(#) $Name: $ $Revision: 1.60 $ $RCSfile: exif.cpp,v $"); // Define DEBUG_MAKERNOTE to output debug information to std::cerr #undef DEBUG_MAKERNOTE @@ -1026,9 +1026,7 @@ namespace Exiv2 { void ExifData::add(const ExifKey& key, Value* pValue) { - // Todo: Implement a more suitable ExifKey c'tor - ExifKey k(key); - add(Exifdatum(k, pValue)); + add(Exifdatum(key, pValue)); } void ExifData::add(const Exifdatum& exifdatum)