diff --git a/src/exiv2.hpp b/src/exiv2.hpp
index be161cbd..2a428a3e 100644
--- a/src/exiv2.hpp
+++ b/src/exiv2.hpp
@@ -40,7 +40,6 @@
#include "easyaccess.hpp"
#include "error.hpp"
#include "exif.hpp"
-#include "exiv2.hpp"
#include "futils.hpp"
#include "gifimage.hpp"
#include "image.hpp"
diff --git a/src/tags.cpp b/src/tags.cpp
index 2e43a31f..e577fae6 100644
--- a/src/tags.cpp
+++ b/src/tags.cpp
@@ -2741,9 +2741,9 @@ namespace Exiv2 {
pos1 = key.find('.', pos0);
if (pos1 == std::string::npos) throw Error(6, key);
std::string groupName = key.substr(pos0, pos1 - pos0);
- if (groupName == "") throw Error(6, key);
+ if (groupName.empty()) throw Error(6, key);
std::string tn = key.substr(pos1 + 1);
- if (tn == "") throw Error(6, key);
+ if (tn.empty()) throw Error(6, key);
// Find IfdId
IfdId ifdId = groupId(groupName);
diff --git a/src/tags_int.hpp b/src/tags_int.hpp
index 37c4c31e..6c4d5c8b 100644
--- a/src/tags_int.hpp
+++ b/src/tags_int.hpp
@@ -52,6 +52,9 @@ namespace Exiv2 {
// *****************************************************************************
// class definitions
+ //! Type for a function pointer for functions interpreting the tag value
+ typedef std::ostream& (*PrintFct)(std::ostream&, const Value&, const ExifData* pExifData);
+
//! Type to specify the IFD to which a metadata belongs
enum IfdId {
ifdIdNotSet,
diff --git a/src/types.hpp b/src/types.hpp
index 991784c5..6739f90c 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -25,7 +25,7 @@
@author Andreas Huggel (ahu)
ahuggel@gmx.net
@date 09-Jan-04, ahu: created
- 11-Feb-04, ahu: isolated as a component
+ 11-Feb-04, ahu: isolated as a component
31-Jul-04, brad: added Time, Data and String values
*/
#ifndef TYPES_HPP_