Skip to content

Commit

Permalink
Use Boost hash_fwd.hpp include instead of hash.hpp directly
Browse files Browse the repository at this point in the history
Boost recommends this as the latter includes a whole bunch of other headers.
  • Loading branch information
Vultraz committed Jul 14, 2017
1 parent eb1e7d6 commit c9f18c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/image.cpp
Expand Up @@ -44,7 +44,7 @@
#include "utils/functional.hpp"

#include <boost/algorithm/string.hpp>
#include <boost/functional/hash.hpp>
#include <boost/functional/hash_fwd.hpp>

#include <set>

Expand Down
2 changes: 1 addition & 1 deletion src/map/location.cpp
Expand Up @@ -27,7 +27,7 @@
#include "log.hpp"
#include "utils/math.hpp"

#include <boost/functional/hash.hpp>
#include <boost/functional/hash_fwd.hpp>

static lg::log_domain log_config("config");
#define ERR_CF LOG_STREAM(err, log_config)
Expand Down
2 changes: 1 addition & 1 deletion src/tstring.cpp
Expand Up @@ -25,7 +25,7 @@
#include "tstring.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include <boost/functional/hash.hpp>
#include <boost/functional/hash_fwd.hpp>

#include <boost/multi_index_container.hpp>
#include <boost/multi_index/hashed_index.hpp>
Expand Down

0 comments on commit c9f18c4

Please sign in to comment.