Skip to content

Commit

Permalink
Clean more header inclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
piponazo committed Feb 18, 2022
1 parent f060b58 commit 76f01fd
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 31 deletions.
3 changes: 2 additions & 1 deletion include/exiv2/bmffimage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@

// included header files
#include "image.hpp"
#include "iostream"

#include <set>

// *****************************************************************************
// namespace extensions
Expand Down
5 changes: 0 additions & 5 deletions include/exiv2/datasets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
// included header files
#include "metadatum.hpp"

// + standard includes
#include <set>
#include <vector>
#include <map>

// *****************************************************************************
// namespace extensions
namespace Exiv2 {
Expand Down
4 changes: 0 additions & 4 deletions include/exiv2/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
// included header files
#include "types.hpp"

// + standard includes
#include <exception>
#include <string>

// *****************************************************************************
// namespace extensions
namespace Exiv2 {
Expand Down
2 changes: 0 additions & 2 deletions include/exiv2/http.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

#include "datasets.hpp"

#include <string>


namespace Exiv2 {
/*!
Expand Down
4 changes: 0 additions & 4 deletions include/exiv2/image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
#include "image_types.hpp"
#include "xmp_exiv2.hpp"

// + standard includes
#include <string>
#include <vector>

// *****************************************************************************
// namespace extensions
namespace Exiv2 {
Expand Down
2 changes: 0 additions & 2 deletions include/exiv2/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@
#include "slice.hpp"

// + standard includes
#include <cstdint>
#include <string>
#include <vector>
#include <limits>
#include <algorithm>
#include <sstream>


Expand Down
3 changes: 0 additions & 3 deletions include/exiv2/value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
// + standard includes
#include <map>
#include <iomanip>
#include <memory>
#include <cstring>
#include <climits>

// *****************************************************************************
// namespace extensions
Expand Down
9 changes: 5 additions & 4 deletions src/convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@
#include "unused.h"

// + standard includes
#include <utility>
#include <iostream>
#include <stdio.h> // for snprintf (C99)
#include <algorithm>
#include <cstring>
#include <iomanip>
#include <ios>
#include <iostream>
#include <sstream>
#include <stdio.h> // for snprintf (C99)
#include <cstring>
#include <utility>

#if defined WIN32 && !defined __CYGWIN__
# include <windows.h>
Expand Down
1 change: 0 additions & 1 deletion src/crwimage_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "crwimage_int.hpp"
#include "canonmn_int.hpp"
#include "i18n.h" // NLS support.
#include "timegm.h"
#include "unused.h"
#include "error.hpp"
#include "enforce.hpp"
Expand Down
1 change: 1 addition & 0 deletions src/pngimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "types.hpp"

// + standard includes
#include <algorithm>
#include <array>
#include <string>
#include <cstring>
Expand Down
1 change: 1 addition & 0 deletions src/preview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// included header files
#include "config.h"

#include <algorithm>
#include <array>
#include <climits>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions src/tags_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include "sonymn_int.hpp"

#include <cmath>
#include <algorithm>

// *****************************************************************************
// local declarations
Expand Down
7 changes: 2 additions & 5 deletions src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@
#endif

// + standard includes
#include <iomanip>
#include <sstream>
#include <string>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <regex>
#include <set>
#include <sstream>

// #1147
#ifndef WIN32
Expand Down
1 change: 1 addition & 0 deletions src/xmpsidecar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "convert.hpp"

// + standard includes
#include <algorithm>
#include <string>
#include <iostream>
#include <cassert>
Expand Down

0 comments on commit 76f01fd

Please sign in to comment.